aboutsummaryrefslogtreecommitdiffstats
path: root/macosx-support-lib-patches/glib-gconvert.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'macosx-support-lib-patches/glib-gconvert.c.patch')
-rw-r--r--macosx-support-lib-patches/glib-gconvert.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/macosx-support-lib-patches/glib-gconvert.c.patch b/macosx-support-lib-patches/glib-gconvert.c.patch
new file mode 100644
index 0000000000..43ac6d5e2f
--- /dev/null
+++ b/macosx-support-lib-patches/glib-gconvert.c.patch
@@ -0,0 +1,13 @@
+--- glib/gconvert.c.dist 2008-09-12 10:55:51.000000000 -0700
++++ glib/gconvert.c 2013-07-08 17:23:57.000000000 -0700
+@@ -52,7 +52,9 @@
+ #error GNU libiconv in use but included iconv.h not from libiconv
+ #endif
+ #if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H)
+-#error GNU libiconv not in use but included iconv.h is from libiconv
++ #if !defined (__APPLE_CC__) && !defined (__LP_64__)
++ #error GNU libiconv not in use but included iconv.h is from libiconv
++ #endif
+ #endif
+
+ #include "galias.h"