summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-10-24 11:36:38 +0000
committertonio <tonio@pkgsrc.org>2005-10-24 11:36:38 +0000
commit5c7b10fff13aef054d61e5858829004b304a4d68 (patch)
tree226e589466c4e08219248258f948f8f87e7c6230 /converters
parent9dee51b9b313a47f3009a22303ce56dfaea63923 (diff)
downloadpkgsrc-5c7b10fff13aef054d61e5858829004b304a4d68.tar.gz
Fix for Darwin8/gcc4 (PR 31888)
Change: startElement() -> wvstartElement() endElement() -> wvendElement() to avoid conflict with non-static prototype (the same fix was applied upstream)
Diffstat (limited to 'converters')
-rw-r--r--converters/wv/Makefile4
-rw-r--r--converters/wv/distinfo3
-rw-r--r--converters/wv/patches/patch-aa42
3 files changed, 46 insertions, 3 deletions
diff --git a/converters/wv/Makefile b/converters/wv/Makefile
index 7224c5d40ac..045b1764abb 100644
--- a/converters/wv/Makefile
+++ b/converters/wv/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2005/08/10 20:56:13 jlam Exp $
+# $NetBSD: Makefile,v 1.49 2005/10/24 11:36:38 tonio Exp $
DISTNAME= wv-1.0.3
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
diff --git a/converters/wv/distinfo b/converters/wv/distinfo
index 1ef95957e1d..b64e9746c47 100644
--- a/converters/wv/distinfo
+++ b/converters/wv/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2005/02/23 16:12:35 agc Exp $
+$NetBSD: distinfo,v 1.13 2005/10/24 11:36:38 tonio Exp $
SHA1 (wv-1.0.3.tar.gz) = dea20c457d8b9f66fb4006672913b5f7852cc77f
RMD160 (wv-1.0.3.tar.gz) = 0076da017b65f89032d0648292c7e3e4058c9d70
Size (wv-1.0.3.tar.gz) = 857412 bytes
+SHA1 (patch-aa) = 47e41aa335d4c66fb1f5111b746599b31b9c8fc1
diff --git a/converters/wv/patches/patch-aa b/converters/wv/patches/patch-aa
new file mode 100644
index 00000000000..35c3317bacd
--- /dev/null
+++ b/converters/wv/patches/patch-aa
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.5 2005/10/24 11:36:38 tonio Exp $
+
+--- wvConfig.c.orig 2002-07-14 15:20:07.000000000 +0200
++++ wvConfig.c
+@@ -2130,7 +2130,7 @@ exstartElement (void *userData, const ch
+ }
+
+ static void
+-startElement (void *userData, const XML_Char *name, const XML_Char **atts)
++wvstartElement (void *userData, const XML_Char *name, const XML_Char **atts)
+ {
+ unsigned int nAtts = 0;
+ const XML_Char **p;
+@@ -3094,7 +3094,7 @@ startElement (void *userData, const XML_
+ }
+
+ static void
+-endElement (void *userData, const XML_Char *name)
++wvendElement (void *userData, const XML_Char *name)
+ {
+ state_data *mydata = (state_data *) userData;
+ unsigned int token_type;
+@@ -3470,8 +3470,8 @@ wvParseConfig (state_data * myhandle)
+ memset(&hdl, 0, sizeof(hdl));
+
+ hdl.getEntity = _getEntity;
+- hdl.startElement = startElement;
+- hdl.endElement = endElement;
++ hdl.startElement = wvstartElement;
++ hdl.endElement = wvendElement;
+ hdl.characters = charData;
+
+ if (myhandle->fp)
+@@ -3514,7 +3514,7 @@ wvParseConfig (state_data * myhandle)
+ size_t len;
+
+ XML_SetUserData (parser, myhandle);
+- XML_SetElementHandler (parser, startElement, endElement);
++ XML_SetElementHandler (parser, wvstartElement, wvendElement);
+ XML_SetCharacterDataHandler (parser, charData);
+
+ if (myhandle->fp == NULL)