openbsd-ports/textproc/p5-XML-LibXML/patches/patch-LibXML_xs
espie 7a09f87182 extern extern is an error. gcc 2.95 was kind enough to only put out
a warning.

Not sure if this should be fixed here or in libxml2 proper ?
2004-01-01 19:19:17 +00:00

24 lines
1.0 KiB
Plaintext

$OpenBSD: patch-LibXML_xs,v 1.1 2004/01/01 19:19:17 espie Exp $
--- LibXML.xs.orig 2003-05-27 11:56:28.000000000 +0200
+++ LibXML.xs 2004-01-01 20:13:49.000000000 +0100
@@ -68,13 +68,13 @@ extern int xmlDoValidityCheckingDefaultV
extern int xmlSubstituteEntitiesDefaultVal;
#define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal
#else
-LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
-LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;
+extern int xmlDoValidityCheckingDefaultValue;
+extern 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;
+extern int xmlGetWarningsDefaultValue;
+extern int xmlKeepBlanksDefaultValue;
+extern int xmlLoadExtDtdDefaultValue;
+extern int xmlPedanticParserDefaultValue;
#define TEST_PERL_FLAG(flag) \
SvTRUE(perl_get_sv(flag, FALSE)) ? 1 : 0