pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/libxml2



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Mon Nov  6 16:12:11 UTC 2017

Modified Files:
        pkgsrc/textproc/libxml2: distinfo
Added Files:
        pkgsrc/textproc/libxml2/patches: patch-python_types.c

Log Message:
py-libxml2: _PyVerify_fd no longer exists

https://bugzilla.gnome.org/show_bug.cgi?id=776815


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/textproc/libxml2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/libxml2/patches/patch-python_types.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/libxml2/distinfo
diff -u pkgsrc/textproc/libxml2/distinfo:1.120 pkgsrc/textproc/libxml2/distinfo:1.121
--- pkgsrc/textproc/libxml2/distinfo:1.120      Mon Nov  6 16:01:59 2017
+++ pkgsrc/textproc/libxml2/distinfo    Mon Nov  6 16:12:11 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.120 2017/11/06 16:01:59 prlw1 Exp $
+$NetBSD: distinfo,v 1.121 2017/11/06 16:12:11 prlw1 Exp $
 
 SHA1 (libxml2-2.9.6.tar.gz) = 4ab4605fce0f82a004c3b2aeb368efc8f356e020
 RMD160 (libxml2-2.9.6.tar.gz) = 99616c77b5991a00e83abca708338cfa09beef29
@@ -12,3 +12,4 @@ SHA1 (patch-ae) = 4eede9719724f94402e850
 SHA1 (patch-encoding.c) = 6cf0a7d421828b9f40a4079ee85adb791c54d096
 SHA1 (patch-python_libxml.py) = 869a72ae5ba2e27e6d46552878890acb22337675
 SHA1 (patch-python_setup.py) = 7771fd02ee6779463f1d3321f099d7e6d19cd1b1
+SHA1 (patch-python_types.c) = e8d73ddc4ee249e62359a517dd7cedc3da0a829c

Added files:

Index: pkgsrc/textproc/libxml2/patches/patch-python_types.c
diff -u /dev/null pkgsrc/textproc/libxml2/patches/patch-python_types.c:1.1
--- /dev/null   Mon Nov  6 16:12:11 2017
+++ pkgsrc/textproc/libxml2/patches/patch-python_types.c        Mon Nov  6 16:12:11 2017
@@ -0,0 +1,21 @@
+$NetBSD: patch-python_types.c,v 1.1 2017/11/06 16:12:11 prlw1 Exp $
+
+_PyVerify_fd disappeared from python with:
+
+  https://hg.python.org/cpython/rev/e88e2049b793
+
+Upstream bug:
+
+  https://bugzilla.gnome.org/show_bug.cgi?id=776815
+
+--- python/types.c.orig        2016-06-07 10:04:14.000000000 +0000
++++ python/types.c
+@@ -31,8 +31,6 @@ libxml_PyFileGet(PyObject *f) {
+     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
+      */



Home | Main Index | Thread Index | Old Index