glib: glib-$(GLIB_VERSION).tar.bz2
$(EXTRACT_BZ2)
(cd $@; patch -p0 < ../Patches/glib-remove-gtkdoc.patch)
+ifdef HAVE_DARWIN_10
+ (cd $@; patch -p0 < ../Patches/glib-Darwin64.patch)
+endif
.glib: glib
(cd $<; sh autogen.sh --prefix=$(PREFIX) --host=$(HOST) && make && make install)
--- /dev/null
+--- glib/gconvert.c 2009-06-27 05:18:06.000000000 +0200
++++ glib/gconvert.c 2009-07-18 02:09:30.000000000 +0200
+@@ -51,9 +51,6 @@
+ #if defined(USE_LIBICONV_GNU) && !defined (_LIBICONV_H)
+ #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
+-#endif
+
+ #include "galias.h"
+