summaryrefslogtreecommitdiffstats
path: root/lang/php5/patches/800-gd-iconv.patch
blob: 1418c276f4c84e1d12e58460308f9cb586bd3ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/ext/gd/libgd/gdkanji.c
+++ b/ext/gd/libgd/gdkanji.c
@@ -9,6 +9,11 @@
 #include "gdhelpers.h"
 
 #include <stdarg.h>
+
+/* force usage of internal conversation routine */
+#undef HAVE_ICONV_H
+#undef HAVE_ICONV
+
 #if defined(HAVE_ICONV_H) || defined(HAVE_ICONV)
 #include <iconv.h>
 #ifdef HAVE_ERRNO_H