diff options
author | drochner <drochner@pkgsrc.org> | 2013-05-28 22:26:13 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2013-05-28 22:26:13 +0000 |
commit | 184aac002d821d9ae8478b90774f9d907999b9db (patch) | |
tree | 4cdaf387f08dc7b1022e0a5c1ad6a52967de279a | |
parent | 7887b1cc7091877b146179bcb5f23547230f16d7 (diff) | |
download | pkgsrc-184aac002d821d9ae8478b90774f9d907999b9db.tar.gz |
fix for Python-2.6
-rw-r--r-- | textproc/py-libxml2/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-libxml2/patches/patch-ac | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/textproc/py-libxml2/distinfo b/textproc/py-libxml2/distinfo index e48557e928c..18fabfad4c1 100644 --- a/textproc/py-libxml2/distinfo +++ b/textproc/py-libxml2/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.28 2013/05/26 09:33:16 adam Exp $ +$NetBSD: distinfo,v 1.29 2013/05/28 22:26:13 drochner Exp $ SHA1 (libxml2-2.9.1.tar.gz) = eb3e2146c6d68aea5c2a4422ed76fe196f933c21 RMD160 (libxml2-2.9.1.tar.gz) = 257285d9ac070ed9f58666b7bd7c4653651c871b Size (libxml2-2.9.1.tar.gz) = 5172503 bytes SHA1 (patch-aa) = 54ce6f91dd29144f22247d15093d6d273f5f433b SHA1 (patch-ab) = 1ae347ac9e8ad8fd6f4f2cfb1017488d8a52ed1f +SHA1 (patch-ac) = b2e8fac8221ae9fb00b3de33441dd83cd7422204 diff --git a/textproc/py-libxml2/patches/patch-ac b/textproc/py-libxml2/patches/patch-ac new file mode 100644 index 00000000000..e0f0ccd9b0d --- /dev/null +++ b/textproc/py-libxml2/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2013/05/28 22:26:13 drochner Exp $ + +fix for Python-2.6 + +--- libxml_wrap.h.orig 2013-04-02 02:25:28.000000000 +0000 ++++ libxml_wrap.h +@@ -28,7 +28,6 @@ + * and don't use Capsule but CObjects + */ + #if PY_VERSION_HEX < 0x02070000 +-#ifndef PyBytes_Check + #define PyBytes_Check PyString_Check + #define PyBytes_Size PyString_Size + #define PyBytes_AsString PyString_AsString +@@ -40,7 +39,6 @@ + #define PyCapsule_GetPointer(o, n) PyCObject_GetDesc((o)) + + #endif +-#endif + + /** + * ATTRIBUTE_UNUSED: |