diff options
author | drochner <drochner@pkgsrc.org> | 2006-05-05 10:02:18 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2006-05-05 10:02:18 +0000 |
commit | 0159d01c6e8fc6e1156f9d020772ff9e1346998b (patch) | |
tree | c3240d8f06b47b8a1a770224f5720b3126acbbdb /textproc | |
parent | b402d964a1f53e69f090bac4ca2e1e49ffa228e2 (diff) | |
download | pkgsrc-0159d01c6e8fc6e1156f9d020772ff9e1346998b.tar.gz |
add a cast to fix build on Solaris 10/Sun Studio CC,
patch provided by Jake Kupersmith per PR pkg/33425
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libxml2/distinfo | 3 | ||||
-rw-r--r-- | textproc/libxml2/patches/patch-ah | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo index 25340424aaf..c4223c30985 100644 --- a/textproc/libxml2/distinfo +++ b/textproc/libxml2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.55 2006/05/03 11:01:17 drochner Exp $ +$NetBSD: distinfo,v 1.56 2006/05/05 10:02:18 drochner Exp $ SHA1 (libxml2-2.6.24.tar.bz2) = 637f4b4894c7195e6857449e46740473e2a944e7 RMD160 (libxml2-2.6.24.tar.bz2) = 9fdde9634a5e49a79a67c0bf24ae860fb894fc5e @@ -8,3 +8,4 @@ SHA1 (patch-ab) = a8dc745539528db69bf1ccb8977a69c24fa818e3 SHA1 (patch-ac) = 264c75cf9fff5319105b971c122cdf5fc103c04e SHA1 (patch-ad) = cd45da492b02cce9983c46762839f68b8b1e0177 SHA1 (patch-ag) = 6ddd32565325e87cc6d7ff77e6eac2be029b7c2f +SHA1 (patch-ah) = 4d97b98393a35cfa5518a5244836a7062bbc0752 diff --git a/textproc/libxml2/patches/patch-ah b/textproc/libxml2/patches/patch-ah new file mode 100644 index 00000000000..e56ee1013a0 --- /dev/null +++ b/textproc/libxml2/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2006/05/05 10:02:18 drochner Exp $ + +--- relaxng.c.orig 2006-05-05 11:39:00.000000000 +0200 ++++ relaxng.c +@@ -7394,7 +7394,7 @@ xmlRelaxNGParse(xmlRelaxNGParserCtxtPtr + if (root == NULL) { + xmlRngPErr(ctxt, (xmlNodePtr) doc, + XML_RNGP_EMPTY, "xmlRelaxNGParse: %s is empty\n", +- (ctxt->URL ? ctxt->URL : "schemas"), NULL); ++ (ctxt->URL ? ctxt->URL : (unsigned char *)"schemas"), NULL); + + xmlFreeDoc(ctxt->document); + ctxt->document = NULL; |