diff options
author | joerg <joerg> | 2008-01-13 09:30:57 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-01-13 09:30:57 +0000 |
commit | d0d63cbfc617a718e25c3aa1c2e53a61dd30dbf3 (patch) | |
tree | 55f3936708da8edad6e160d5d9538eea1ec3aeb7 /converters/libiconv/patches/patch-ad | |
parent | dc64f0be669d9d7ad8b6ca265929933643a19aee (diff) | |
download | pkgsrc-d0d63cbfc617a718e25c3aa1c2e53a61dd30dbf3.tar.gz |
Keep locale_alias symbol and don't hide it when visibility support
exists and libiconv is compiled. This restores symmetry between
libiconv.so, libiconv.a and libintl and fixes the build of gettext-tools
on Linux. Bump revision.
Diffstat (limited to 'converters/libiconv/patches/patch-ad')
-rw-r--r-- | converters/libiconv/patches/patch-ad | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/converters/libiconv/patches/patch-ad b/converters/libiconv/patches/patch-ad new file mode 100644 index 00000000000..3fbe445ffd7 --- /dev/null +++ b/converters/libiconv/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.8 2008/01/13 09:30:57 joerg Exp $ + +Always export locale_alias as e.g. libintl expects it. + +--- libcharset/include/localcharset.h.build.in.orig 2008-01-12 18:20:07.000000000 +0100 ++++ libcharset/include/localcharset.h.build.in +@@ -20,7 +20,7 @@ + #ifndef _LOCALCHARSET_H + #define _LOCALCHARSET_H + +-#if @HAVE_VISIBILITY@ && BUILDING_LIBCHARSET ++#if @HAVE_VISIBILITY@ + #define LIBCHARSET_DLL_EXPORTED __attribute__((__visibility__("default"))) + #else + #define LIBCHARSET_DLL_EXPORTED |