diff options
author | rillig <rillig> | 2005-03-16 14:54:19 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-03-16 14:54:19 +0000 |
commit | 8ab9f2f8c00557f2026a9402ce519dc7e65b59b6 (patch) | |
tree | 985f4f6cadec8a21e9bfb9a32090cb3e2da78935 /textproc/p5-XML-LibXML | |
parent | d6cc96f25500df0ac37d4d7ca46b6235eb2ce62b (diff) | |
download | pkgsrc-8ab9f2f8c00557f2026a9402ce519dc7e65b59b6.tar.gz |
Added a patch needed for gcc-2.95.3. Approved by wiz.
Diffstat (limited to 'textproc/p5-XML-LibXML')
-rw-r--r-- | textproc/p5-XML-LibXML/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-XML-LibXML/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/textproc/p5-XML-LibXML/distinfo b/textproc/p5-XML-LibXML/distinfo index b39dc4d159e..14ddd7ba4f7 100644 --- a/textproc/p5-XML-LibXML/distinfo +++ b/textproc/p5-XML-LibXML/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2005/02/24 14:48:46 agc Exp $ +$NetBSD: distinfo,v 1.7 2005/03/16 14:54:19 rillig Exp $ SHA1 (XML-LibXML-1.58.tar.gz) = f2660677e2a579ba0bf9ef5d675ea2883b786abe RMD160 (XML-LibXML-1.58.tar.gz) = 04ce4bb3896f5b07eaffcb9ac55fd005b87015a8 Size (XML-LibXML-1.58.tar.gz) = 171713 bytes +SHA1 (patch-aa) = 3549ab882eb8bab73bc1aae3528a7307da1a576a diff --git a/textproc/p5-XML-LibXML/patches/patch-aa b/textproc/p5-XML-LibXML/patches/patch-aa new file mode 100644 index 00000000000..707914ac268 --- /dev/null +++ b/textproc/p5-XML-LibXML/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.5 2005/03/16 15:05:35 rillig Exp $ + +gcc-2.95.3 cannot handle declarations intermixed with code. + +--- perl-libxml-mm.c.orig Wed Mar 31 21:32:08 2004 ++++ perl-libxml-mm.c Wed Mar 16 03:16:34 2005 +@@ -959,13 +959,14 @@ nodeC2Sv( const xmlChar * string, xmlNo + if ( refnode != NULL ) { + xmlDocPtr real_doc = refnode->doc; + if ( real_doc != NULL && real_doc->encoding != NULL ) { ++ xmlChar * decoded; + xs_warn( " encode node !!" ); + /* The following statement is to handle bad + values set by XML::LibXSLT */ + if ( PmmNodeEncoding(real_doc) == XML_CHAR_ENCODING_NONE ) { + PmmNodeEncoding(real_doc) = XML_CHAR_ENCODING_UTF8; + } +- xmlChar * decoded = PmmFastDecodeString( PmmNodeEncoding(real_doc) , ++ decoded = PmmFastDecodeString( PmmNodeEncoding(real_doc) , + (const xmlChar *)string, + (const xmlChar*)real_doc->encoding); + xs_warn( "push decoded string into SV" ); |