diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-03-23 13:26:20 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-03-23 13:26:20 +0000 |
commit | 96557119e29c571f67824d5085265d6e7aba1615 (patch) | |
tree | 172388a0863abddeacf3b3a5ccdfcebc4b383bf3 /converters/libiconv/files/patch-lib-iconv.c | |
parent | Cryptographic library to perform identification using Schnorr (diff) |
- 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
Diffstat (limited to 'converters/libiconv/files/patch-lib-iconv.c')
-rw-r--r-- | converters/libiconv/files/patch-lib-iconv.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 |