build/win: Fix building iconv on recent gcc versions.
This commit is contained in:
parent
87cfbd8d21
commit
dae608dfdf
2 changed files with 13 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
<branch version="1.14" repo="gnu.org"
|
||||
module="libiconv/libiconv-1.14.tar.gz"
|
||||
hash="sha256:72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613">
|
||||
<patch file="iconv-fix-inline.patch" strip="1"/>
|
||||
</branch>
|
||||
</autotools>
|
||||
|
||||
|
|
|
|||
12
build/windows/jhbuild/patches/iconv-fix-inline.patch
Normal file
12
build/windows/jhbuild/patches/iconv-fix-inline.patch
Normal file
|
|
@ -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)
|
||||
{
|
||||
Loading…
Reference in a new issue