Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Jan 2004 20:36:15 -0500 (EST)
From:      "Adam C.Migus" <adam@migus.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61156: textproc/p5-XML-LibXML broken; workaround-patch.
Message-ID:  <20040110013615.D503FA1017@ludo.migus.org>
Resent-Message-ID: <200401100140.i0A1eGhS084498@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61156
>Category:       ports
>Synopsis:       textproc/p5-XML-LibXML broken; workaround-patch.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 09 17:40:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Adam C. Migus
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD ludo.migus.org 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #5: Sat Oct 25 23:51:05 EDT 2003 amigus@ludo.migus.org:/obj/freebsd/sys/src/freebsd/RELENG_5_1/src/sys/SMP_FAST i386
>Description:
	textproc/p5-XML-LibXML is marked as broken due to a warning generated
	during the compile.  Until the maintainer corrects the problem the
	following patch eliminates the warning and allows the port to
	compile.
>How-To-Repeat:
	cd textproc/p5-XML-LibXML; make
>Fix:
	Apply the following patch:
diff -Nru --exclude=CVS textproc/p5-XML-LibXML.orig/Makefile textproc/p5-XML-LibXML/Makefile
--- textproc/p5-XML-LibXML.orig/Makefile	Tue Dec 23 01:50:53 2003
+++ textproc/p5-XML-LibXML/Makefile	Fri Jan  9 18:49:32 2004
@@ -36,8 +36,4 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 500113
-BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
 .include <bsd.port.post.mk>
diff -Nru --exclude=CVS textproc/p5-XML-LibXML.orig/files/patch-LibXML.xs textproc/p5-XML-LibXML/files/patch-LibXML.xs
--- textproc/p5-XML-LibXML.orig/files/patch-LibXML.xs	Wed Dec 31 19:00:00 1969
+++ textproc/p5-XML-LibXML/files/patch-LibXML.xs	Sat Jan  3 03:27:21 2004
@@ -0,0 +1,23 @@
+--- LibXML.xs.orig	2003-12-22 10:38:06.000000000 -0500
++++ LibXML.xs	2003-12-22 10:38:12.000000000 -0500
+@@ -64,20 +64,6 @@
+ }
+ #endif
+ 
+-#ifdef VMS
+-extern int xmlDoValidityCheckingDefaultVal;
+-#define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal
+-extern int xmlSubstituteEntitiesDefaultVal;
+-#define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal
+-#else
+-LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
+-LIBXML_DLL_IMPORT 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;
+-
+ #define TEST_PERL_FLAG(flag) \
+     SvTRUE(perl_get_sv(flag, FALSE)) ? 1 : 0
+ 

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040110013615.D503FA1017>