mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Remove iconv->giconv hack.
This commit is contained in:
parent
533a53450a
commit
3a8b2bd69f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57437
@ -68,24 +68,6 @@ $FreeBSD$
|
||||
|
||||
WX_RESOURCES_MACOSX="lib${WX_LIBRARY}.rsrc"
|
||||
WX_RESOURCES_MACOSX_COMPILED="lib${WX_LIBRARY}.r"
|
||||
@@ -12478,7 +12476,7 @@
|
||||
fi
|
||||
done
|
||||
|
||||
-for ac_hdr in iconv.h
|
||||
+for ac_hdr in giconv.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
@@ -14244,7 +14242,7 @@
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 14246 "configure"
|
||||
#include "confdefs.h"
|
||||
-#include <iconv.h>
|
||||
+#include <giconv.h>
|
||||
int main() {
|
||||
|
||||
char **inbuf, **outbuf;
|
||||
@@ -16167,6 +16165,7 @@
|
||||
fi
|
||||
fi
|
||||
|
@ -1,20 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- setup.h.in 2002/01/31 11:53:03 1.1
|
||||
+++ setup.h.in 2002/01/31 11:55:49
|
||||
@@ -1030,8 +1030,12 @@
|
||||
/* Define if you have the <wctype.h> header file. */
|
||||
#undef HAVE_WCTYPE_H
|
||||
|
||||
-/* Define if you have the <iconv.h> header file. */
|
||||
-#undef HAVE_ICONV_H
|
||||
+/* Define if you have the <giconv.h> header file. */
|
||||
+#undef HAVE_GICONV_H
|
||||
+
|
||||
+#ifdef HAVE_GICONV_H
|
||||
+ #define HAVE_ICONV_H
|
||||
+#endif
|
||||
|
||||
/* Test for GLIBC 2.2 iconv() */
|
||||
#undef WX_ICONV_TAKES_CHAR
|
Loading…
Reference in New Issue
Block a user