summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-12-11 17:05:42 +0100
committerThomas Deutschmann <whissi@gentoo.org>2018-12-11 17:32:15 +0100
commit2bbab8936408075202f6d7028b9903dd25722492 (patch)
tree4bf61bd2d12d4941f520899588e13640bb425f22 /dev-libs/librelp/files
parentx11-base/xorg-drivers: [QA] Remove support for removed xf86-*-tslib (diff)
downloadgentoo-2bbab8936408075202f6d7028b9903dd25722492.tar.gz
gentoo-2bbab8936408075202f6d7028b9903dd25722492.tar.bz2
gentoo-2bbab8936408075202f6d7028b9903dd25722492.zip
dev-libs/librelp: bump to v1.3.0
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/librelp/files')
-rw-r--r--dev-libs/librelp/files/librelp-1.3.0-dummyclient.py-Py3-compatibility.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/librelp/files/librelp-1.3.0-dummyclient.py-Py3-compatibility.patch b/dev-libs/librelp/files/librelp-1.3.0-dummyclient.py-Py3-compatibility.patch
new file mode 100644
index 000000000000..99ac9887f739
--- /dev/null
+++ b/dev-libs/librelp/files/librelp-1.3.0-dummyclient.py-Py3-compatibility.patch
@@ -0,0 +1,24 @@
+From 93c7ab4284f0609abab7cf2f9b8bdefe21fe0038 Mon Sep 17 00:00:00 2001
+From: Thomas Deutschmann <whissi@whissi.de>
+Date: Tue, 11 Dec 2018 16:50:12 +0100
+Subject: [PATCH] tests: make dummyclient.py compatible with Python2 and
+ Python3
+
+Closes: https://github.com/rsyslog/librelp/issues/163
+---
+ tests/dummyclient.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/dummyclient.py b/tests/dummyclient.py
+index 6f99c79..8b0041e 100755
+--- a/tests/dummyclient.py
++++ b/tests/dummyclient.py
+@@ -4,7 +4,7 @@
+ import os
+
+ port = int(os.environ['TESTPORT'])
+-print "dummyclient info: opening and closing port " + str(port) + " without sending data"
++print("dummyclient info: opening and closing port " + str(port) + " without sending data")
+ s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+ s.connect(("127.0.0.1", port))
+ s.close()