[csw-devel] SF.net SVN: gar:[21515] csw/mgar/pkg/libxml2/trunk

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Wed Jul 17 16:56:03 CEST 2013


Revision: 21515
          http://gar.svn.sourceforge.net/gar/?rev=21515&view=rev
Author:   cgrzemba
Date:     2013-07-17 14:56:00 +0000 (Wed, 17 Jul 2013)
Log Message:
-----------
libxml2/trunk: add patch for build for python 2.6.8

Modified Paths:
--------------
    csw/mgar/pkg/libxml2/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/libxml2/trunk/files/0002-fix-PyCapsulate-for-python-version-less-2.7.patch

Modified: csw/mgar/pkg/libxml2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxml2/trunk/Makefile	2013-07-17 08:39:16 UTC (rev 21514)
+++ csw/mgar/pkg/libxml2/trunk/Makefile	2013-07-17 14:56:00 UTC (rev 21515)
@@ -14,6 +14,7 @@
 MASTER_SITES = ftp://xmlsoft.org/libxml2/
 DISTFILES = $(DISTNAME).tar.gz
 # PATCHFILES = 0001-Forcefully-disable-the-symbol-versioning.patch
+PATCHFILES = 0002-fix-PyCapsulate-for-python-version-less-2.7.patch
 
 sysconfdir = /etc/opt/csw
 localstatedir = /var/opt/csw

Added: csw/mgar/pkg/libxml2/trunk/files/0002-fix-PyCapsulate-for-python-version-less-2.7.patch
===================================================================
--- csw/mgar/pkg/libxml2/trunk/files/0002-fix-PyCapsulate-for-python-version-less-2.7.patch	                        (rev 0)
+++ csw/mgar/pkg/libxml2/trunk/files/0002-fix-PyCapsulate-for-python-version-less-2.7.patch	2013-07-17 14:56:00 UTC (rev 21515)
@@ -0,0 +1,17 @@
+--- a/python/libxml_wrap.h
++++ b/python/libxml_wrap.h
+@@ -34,13 +34,13 @@
+ #define PyBytes_AsString PyString_AsString
+ #define PyBytes_AS_STRING PyString_AS_STRING
+ #define PyBytes_GET_SIZE PyString_GET_SIZE
++#endif
+ 
+ #define PyCapsule_New PyCObject_FromVoidPtrAndDesc
+ #define PyCapsule_CheckExact PyCObject_Check
+ #define PyCapsule_GetPointer(o, n) PyCObject_GetDesc((o))
+ 
+ #endif
+-#endif
+ 
+ /**
+  * ATTRIBUTE_UNUSED:

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list