summaryrefslogtreecommitdiff
path: root/converters/libiconv/patches/patch-ad
diff options
context:
space:
mode:
authorjoerg <joerg>2008-01-13 09:30:57 +0000
committerjoerg <joerg>2008-01-13 09:30:57 +0000
commitd0d63cbfc617a718e25c3aa1c2e53a61dd30dbf3 (patch)
tree55f3936708da8edad6e160d5d9538eea1ec3aeb7 /converters/libiconv/patches/patch-ad
parentdc64f0be669d9d7ad8b6ca265929933643a19aee (diff)
downloadpkgsrc-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-ad15
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