aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxml2/libxml2-2.9.4-remove-pyverify_fd.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-11-01 18:14:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-02 12:25:55 +0000
commit2368d46cd6ca740544fad6099328e322457e4564 (patch)
treefc8a31de4bafb3b25094ee036842f9a426800c22 /main/libxml2/libxml2-2.9.4-remove-pyverify_fd.patch
parent864c2dac33f76cabef97b729df074ef5a3098df8 (diff)
downloadaports-2368d46cd6ca740544fad6099328e322457e4564.tar.bz2
aports-2368d46cd6ca740544fad6099328e322457e4564.tar.xz
main/libxml2: enable py3 module and -dbg subpackage
Diffstat (limited to 'main/libxml2/libxml2-2.9.4-remove-pyverify_fd.patch')
-rw-r--r--main/libxml2/libxml2-2.9.4-remove-pyverify_fd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/libxml2/libxml2-2.9.4-remove-pyverify_fd.patch b/main/libxml2/libxml2-2.9.4-remove-pyverify_fd.patch
new file mode 100644
index 0000000000..d05d4cb60f
--- /dev/null
+++ b/main/libxml2/libxml2-2.9.4-remove-pyverify_fd.patch
@@ -0,0 +1,12 @@
+diff -Nur libxml2-2.9.4.orig/python/types.c libxml2-2.9.4/python/types.c
+--- libxml2-2.9.4.orig/python/types.c 2016-02-09 03:17:33.000000000 -0700
++++ libxml2-2.9.4/python/types.c 2016-12-21 12:34:06.755650986 -0700
+@@ -31,8 +31,6 @@
+ const char *mode;
+
+ fd = PyObject_AsFileDescriptor(f);
+- if (!_PyVerify_fd(fd))
+- return(NULL);
+ /*
+ * Get the flags on the fd to understand how it was opened
+ */