summaryrefslogtreecommitdiffstats
path: root/python34-readline.patch
diff options
context:
space:
mode:
authorOrion Poplawski <orion@cora.nwra.com>2016-08-24 15:34:12 -0600
committerOrion Poplawski <orion@cora.nwra.com>2016-09-30 08:56:23 -0600
commitcfe744440eff16659fc852003525e85fd4c147c7 (patch)
tree846a6e6ca552af5bd0cfb7849690f10d418930cd /python34-readline.patch
parent6de86794a2acde978b930a20a788a3c644a816e8 (diff)
downloadpython34-cfe744440eff16659fc852003525e85fd4c147c7.tar.gz
python34-cfe744440eff16659fc852003525e85fd4c147c7.tar.xz
python34-cfe744440eff16659fc852003525e85fd4c147c7.zip
Update to build on EL6
Diffstat (limited to 'python34-readline.patch')
-rw-r--r--python34-readline.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/python34-readline.patch b/python34-readline.patch
new file mode 100644
index 0000000..83601d8
--- /dev/null
+++ b/python34-readline.patch
@@ -0,0 +1,14 @@
+diff -up Python-3.4.3/Lib/test/test_readline.py.readline Python-3.4.3/Lib/test/test_readline.py
+--- Python-3.4.3/Lib/test/test_readline.py.readline 2016-08-24 14:12:57.026751263 -0600
++++ Python-3.4.3/Lib/test/test_readline.py 2016-08-24 14:13:28.768616872 -0600
+@@ -45,7 +45,7 @@ class TestHistoryManipulation (unittest.
+
+ class TestReadline(unittest.TestCase):
+
+- @unittest.skipIf(readline._READLINE_VERSION < 0x0600
++ @unittest.skipIf(readline._READLINE_VERSION < 0x0601
+ and "libedit" not in readline.__doc__,
+ "not supported in this library version")
+ def test_init(self):
+diff -up Python-3.4.3/Misc/NEWS.readline Python-3.4.3/Misc/NEWS
+diff -up Python-3.4.3/Modules/readline.c.readline Python-3.4.3/Modules/readline.c