diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-02-11 03:15:43 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-02-11 03:15:43 +0800 |
commit | 88e7cc1cd8b00a1d461c48d4f329f8df666ca864 (patch) | |
tree | 4540e52bcccd355ced24d2c3014468cc7b67f6cb /textproc/libxml2/files | |
parent | 9ce0f628f7a0bbbeb69d02a8d02290be308159ca (diff) | |
download | freebsd-ports-graphics-88e7cc1cd8b00a1d461c48d4f329f8df666ca864.tar.gz freebsd-ports-graphics-88e7cc1cd8b00a1d461c48d4f329f8df666ca864.tar.zst freebsd-ports-graphics-88e7cc1cd8b00a1d461c48d4f329f8df666ca864.zip |
Use GNU iconv library (converters/libiconv) instead of BSD iconv.
Prompted by: ade
Diffstat (limited to 'textproc/libxml2/files')
-rw-r--r-- | textproc/libxml2/files/patch-ab | 20 | ||||
-rw-r--r-- | textproc/libxml2/files/patch-ae | 14 |
2 files changed, 33 insertions, 1 deletions
diff --git a/textproc/libxml2/files/patch-ab b/textproc/libxml2/files/patch-ab index e21bcc174b8..752788d6c57 100644 --- a/textproc/libxml2/files/patch-ab +++ b/textproc/libxml2/files/patch-ab @@ -2,7 +2,7 @@ $FreeBSD$ --- configure.orig Thu Feb 8 13:39:59 2001 -+++ configure Fri Feb 9 02:04:41 2001 ++++ configure Fri Feb 9 23:40:58 2001 @@ -3474,7 +3474,7 @@ @@ -12,3 +12,21 @@ $FreeBSD$ XML_LIBS="-lxml2 $Z_LIBS $M_LIBS $LIBS" XML_CFLAGS="" +@@ -3871,7 +3871,7 @@ + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char $ac_func(); ++char lib$ac_func(); + + int main() { + +@@ -3881,7 +3881,7 @@ + #if defined (__stub_$ac_func) || defined (__stub___$ac_func) + choke me + #else +-$ac_func(); ++lib$ac_func(); + #endif + + ; return 0; } diff --git a/textproc/libxml2/files/patch-ae b/textproc/libxml2/files/patch-ae new file mode 100644 index 00000000000..00fd712110b --- /dev/null +++ b/textproc/libxml2/files/patch-ae @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- include/libxml/encoding.h 2001/02/09 21:35:22 1.1 ++++ include/libxml/encoding.h 2001/02/09 21:35:37 +@@ -23,7 +23,7 @@ + + #include <libxml/xmlversion.h> + #ifdef LIBXML_ICONV_ENABLED +-#include <iconv.h> ++#include <giconv.h> + #endif + #include <libxml/tree.h> + |