diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-04-26 09:14:50 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-04-26 09:14:50 +0000 |
commit | 8684c7b13d0a16da0ba853044adf40c5c47a0d9d (patch) | |
tree | e66d364a1529fe515a83830df60cc6f8bf31a43f /app-text/wv/files | |
parent | Fix building with gcc4. Patch from Debian. (diff) | |
download | gentoo-2-8684c7b13d0a16da0ba853044adf40c5c47a0d9d.tar.gz gentoo-2-8684c7b13d0a16da0ba853044adf40c5c47a0d9d.tar.bz2 gentoo-2-8684c7b13d0a16da0ba853044adf40c5c47a0d9d.zip |
Fix building with gcc4 (namespace collide with libxml2).
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'app-text/wv/files')
-rw-r--r-- | app-text/wv/files/wv-1.0.3-gcc4.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-text/wv/files/wv-1.0.3-gcc4.patch b/app-text/wv/files/wv-1.0.3-gcc4.patch new file mode 100644 index 000000000000..829212f971fb --- /dev/null +++ b/app-text/wv/files/wv-1.0.3-gcc4.patch @@ -0,0 +1,40 @@ +--- wv-1.0.3/wvConfig.c ++++ wv-1.0.3.az/wvConfig.c 2005-04-26 08:59:26.000000000 +0000 +@@ -2130,7 +2130,7 @@ + } + + static void +-startElement (void *userData, const XML_Char *name, const XML_Char **atts) ++_startElement (void *userData, const XML_Char *name, const XML_Char **atts) + { + unsigned int nAtts = 0; + const XML_Char **p; +@@ -3094,7 +3094,7 @@ + } + + static void +-endElement (void *userData, const XML_Char *name) ++_endElement (void *userData, const XML_Char *name) + { + state_data *mydata = (state_data *) userData; + unsigned int token_type; +@@ -3470,8 +3470,8 @@ + memset(&hdl, 0, sizeof(hdl)); + + hdl.getEntity = _getEntity; +- hdl.startElement = startElement; +- hdl.endElement = endElement; ++ hdl.startElement = _startElement; ++ hdl.endElement = _endElement; + hdl.characters = charData; + + if (myhandle->fp) +@@ -3514,7 +3514,7 @@ + size_t len; + + XML_SetUserData (parser, myhandle); +- XML_SetElementHandler (parser, startElement, endElement); ++ XML_SetElementHandler (parser, _startElement, _endElement); + XML_SetCharacterDataHandler (parser, charData); + + if (myhandle->fp == NULL) |