From dae608dfdfc4dbaf791aea71db9b91b3e2aaaac0 Mon Sep 17 00:00:00 2001 From: Michael Henning Date: Sat, 6 Jun 2015 12:41:33 -0400 Subject: [PATCH] build/win: Fix building iconv on recent gcc versions. --- build/windows/jhbuild/glib.moduleset | 1 + build/windows/jhbuild/patches/iconv-fix-inline.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 build/windows/jhbuild/patches/iconv-fix-inline.patch diff --git a/build/windows/jhbuild/glib.moduleset b/build/windows/jhbuild/glib.moduleset index 076763cf05..87a7107055 100644 --- a/build/windows/jhbuild/glib.moduleset +++ b/build/windows/jhbuild/glib.moduleset @@ -11,6 +11,7 @@ + diff --git a/build/windows/jhbuild/patches/iconv-fix-inline.patch b/build/windows/jhbuild/patches/iconv-fix-inline.patch new file mode 100644 index 0000000000..93e2add59e --- /dev/null +++ b/build/windows/jhbuild/patches/iconv-fix-inline.patch @@ -0,0 +1,12 @@ +--- a/lib/iconv.c 2015-06-06 12:37:05.267944000 -0400 ++++ b/lib/iconv.c 2015-06-06 12:37:27.311277142 -0400 +@@ -176,9 +176,6 @@ + #include "aliases2.h" + #undef S + }; +-#ifdef __GNUC__ +-__inline +-#endif + const struct alias * + aliases2_lookup (register const char *str) + {