summaryrefslogtreecommitdiff
path: root/nonprism/pidgin/purple-remote-python3.patch
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-01-26 05:09:16 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2021-01-26 05:30:55 -0500
commitd81bbdd3924f63fb6e5453147b2d1ad0e09b5476 (patch)
tree3c0c0acb1bdab8ef26b82009efc9d48b97681d61 /nonprism/pidgin/purple-remote-python3.patch
parentc2f20aad482b3185c7038def49cef45464c49d07 (diff)
downloadabslibre-d81bbdd3924f63fb6e5453147b2d1ad0e09b5476.tar.gz
abslibre-d81bbdd3924f63fb6e5453147b2d1ad0e09b5476.tar.bz2
abslibre-d81bbdd3924f63fb6e5453147b2d1ad0e09b5476.zip
[pidgin]: upgrade to v2.14.1
Diffstat (limited to 'nonprism/pidgin/purple-remote-python3.patch')
-rw-r--r--nonprism/pidgin/purple-remote-python3.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/nonprism/pidgin/purple-remote-python3.patch b/nonprism/pidgin/purple-remote-python3.patch
deleted file mode 100644
index 4bcf5c9cf..000000000
--- a/nonprism/pidgin/purple-remote-python3.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-# HG changeset patch
-# User Evangelos Foutras <evangelos@foutrelis.com>
-# Date 1520583640 -7200
-# Fri Mar 09 10:20:40 2018 +0200
-# Branch release-2.x.y
-# Node ID ac2e05444162f1dc0fd60e4d5c8b4cbe2969b695
-# Parent 02df346d26d00cb9a1420c11a59fccb35d92f04e
-Adjust purple-remote to work with Python 3
-
-Fixes the following error:
-
- Traceback (most recent call last):
- File "./libpurple/purple-remote", line 241, in <module>
- print("No existing libpurple instance detected.")
- File "/usr/lib/python3.6/codecs.py", line 377, in write
- self.stream.write(data)
- TypeError: write() argument must be str, not bytes
-
-diff -r 02df346d26d0 -r ac2e05444162 libpurple/purple-remote
---- a/libpurple/purple-remote Thu Mar 08 22:51:37 2018 -0600
-+++ b/libpurple/purple-remote Fri Mar 09 10:20:40 2018 +0200
-@@ -13,8 +13,10 @@
-
- import xml.dom.minidom
-
--sys.stdin = codecs.getwriter('utf-8')(sys.stdin);
--sys.stdout = codecs.getwriter('utf-8')(sys.stdout);
-+if hasattr(sys.stdout, 'buffer'):
-+ sys.stdout = codecs.getwriter('utf-8')(sys.stdout.buffer)
-+else:
-+ sys.stdout = codecs.getwriter('utf-8')(sys.stdout)
-
- xml.dom.minidom.Element.all = xml.dom.minidom.Element.getElementsByTagName
-