Make this build with libxml-2.6.x

This commit is contained in:
xtraeme 2004-01-15 09:11:58 +00:00
parent 6d5a415663
commit 080645d6d3
2 changed files with 26 additions and 1 deletions

View file

@ -1,4 +1,5 @@
$NetBSD: distinfo,v 1.2 2003/10/05 11:55:53 wiz Exp $
$NetBSD: distinfo,v 1.3 2004/01/15 09:11:58 xtraeme Exp $
SHA1 (XML-LibXML-1.56.tar.gz) = c0f76dfc444cd792a59bdcc4f0fba0e8dfa6d373
Size (XML-LibXML-1.56.tar.gz) = 165047 bytes
SHA1 (patch-aa) = c54db48ed0ec3dba5b1ab8ef6678f3f78b7f586a

View file

@ -0,0 +1,24 @@
$NetBSD: patch-aa,v 1.3 2004/01/15 09:11:58 xtraeme Exp $
--- LibXML.xs.orig 2004-01-15 10:09:53.000000000 +0100
+++ LibXML.xs 2004-01-15 10:10:17.000000000 +0100
@@ -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