summaryrefslogtreecommitdiff
path: root/converters/libiconv/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-01-13 09:30:57 +0000
committerjoerg <joerg@pkgsrc.org>2008-01-13 09:30:57 +0000
commit22969025d4dd19bf7f120a6dd21f8d3ff726b838 (patch)
tree55f3936708da8edad6e160d5d9538eea1ec3aeb7 /converters/libiconv/patches
parentb1e4ec8ec7783dcc72cd59f883a775eac6613276 (diff)
downloadpkgsrc-22969025d4dd19bf7f120a6dd21f8d3ff726b838.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')
-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