From 96557119e29c571f67824d5085265d6e7aba1615 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 23 Mar 2014 13:26:20 +0000 Subject: - Remove indefinite article from COMMENT. - Enable -fvisibility=hidden. - Add USE_CSTD=gnu89 to fix compilation with -O0 and -Oz. - Add DOCS option. PR: ports/186846 Approved by: kwm, marcus --- converters/libiconv/files/patch-lib-iconv.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 converters/libiconv/files/patch-lib-iconv.c (limited to 'converters/libiconv/files/patch-lib-iconv.c') diff --git a/converters/libiconv/files/patch-lib-iconv.c b/converters/libiconv/files/patch-lib-iconv.c new file mode 100644 index 000000000000..a5f0e8578d60 --- /dev/null +++ b/converters/libiconv/files/patch-lib-iconv.c @@ -0,0 +1,11 @@ +--- lib/iconv.c.orig ++++ lib/iconv.c +@@ -598,7 +598,7 @@ + It wants to define the symbols 'iconv_open', 'iconv', 'iconv_close'. */ + #define strong_alias(name, aliasname) _strong_alias(name, aliasname) + #define _strong_alias(name, aliasname) \ +- extern __typeof (name) aliasname __attribute__ ((alias (#name))); ++ extern LIBICONV_DLL_EXPORTED __typeof (name) aliasname __attribute__ ((alias (#name))); + #undef iconv_open + #undef iconv + #undef iconv_close -- cgit v1.2.3