perl-libxml XML::LibXML-1.56 mono-debugger-0.5 - gtk support was officialy commented to make it build, but i need to hack boehm-gc to make the debugger build. (TODO) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1985 c5f82cb5-29bc-0310-9cd0-bff59a50e3bcrocklinux
@ -0,0 +1,22 @@ |
|||||
|
--- ./LibXML.xs.orig 2003-12-13 19:56:03.000000000 -0300
|
||||
|
+++ ./LibXML.xs 2003-12-13 19:56:33.000000000 -0300
|
||||
|
@@ -70,13 +70,13 @@
|
||||
|
extern int xmlSubstituteEntitiesDefaultVal; |
||||
|
#define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal |
||||
|
#else |
||||
|
-LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
|
||||
|
-LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;
|
||||
|
+LIBXML_DLL_IMPORT int xmlDoValidityCheckingDefaultValue;
|
||||
|
+LIBXML_DLL_IMPORT int xmlSubstituteEntitiesDefaultValue;
|
||||
|
#endif |
||||
|
-LIBXML_DLL_IMPORT extern int xmlGetWarningsDefaultValue;
|
||||
|
-LIBXML_DLL_IMPORT extern int xmlKeepBlanksDefaultValue;
|
||||
|
-LIBXML_DLL_IMPORT extern int xmlLoadExtDtdDefaultValue;
|
||||
|
-LIBXML_DLL_IMPORT extern int xmlPedanticParserDefaultValue;
|
||||
|
+LIBXML_DLL_IMPORT int xmlGetWarningsDefaultValue;
|
||||
|
+LIBXML_DLL_IMPORT int xmlKeepBlanksDefaultValue;
|
||||
|
+LIBXML_DLL_IMPORT int xmlLoadExtDtdDefaultValue;
|
||||
|
+LIBXML_DLL_IMPORT int xmlPedanticParserDefaultValue;
|
||||
|
|
||||
|
#define TEST_PERL_FLAG(flag) \ |
||||
|
SvTRUE(perl_get_sv(flag, FALSE)) ? 1 : 0 |
@ -0,0 +1,10 @@ |
|||||
|
function pkg_perllibxml_prepatch() { |
||||
|
# each loop clean the patch list |
||||
|
patchfiles="" |
||||
|
|
||||
|
if [ $xsrctar = "XML-LibXML-$ver.tar.bz2" ]; then |
||||
|
var_append patchfiles ' ' "$( ls $confdir/libxml-*.diff )" |
||||
|
fi |
||||
|
} |
||||
|
|
||||
|
hook_add prepatch 2 'pkg_perllibxml_prepatch' |