aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glib20/files/patch-glib_gconvert.c
blob: 8b7e4a4cbd3b91e2e80faaff9080d46c362c1f45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Work around our situation of having both libiconv in libc and libiconv from
ports installed.

--- glib/gconvert.c.orig    2014-02-08 10:15:50.000000000 +0100
+++ glib/gconvert.c 2014-02-08 10:16:52.000000000 +0100
@@ -62,7 +62,7 @@
 #error GNU libiconv in use but included iconv.h not from libiconv
 #endif
 #if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H) \
-     && !defined (__APPLE_CC__) && !defined (__LP_64__)
+  && !defined (LIBICONV_PLUG) && !defined (__APPLE_CC__) && !defined (__LP_64__)
 #error GNU libiconv not in use but included iconv.h is from libiconv
 #endif