aboutsummaryrefslogtreecommitdiffstats
path: root/main/gettext/gettext-0.15-expat-no-dlopen.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-25 17:30:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-25 17:30:38 +0000
commitb47227307d6fbe3e8f9cc2a2b9233c546cf0a71a (patch)
tree0b5f8900404e8bac459fa4a303a7b882c8b0fcb3 /main/gettext/gettext-0.15-expat-no-dlopen.patch
parent7352c094405f3410f5021269a0fc585efd4fe51a (diff)
downloadaports-b47227307d6fbe3e8f9cc2a2b9233c546cf0a71a.tar.bz2
aports-b47227307d6fbe3e8f9cc2a2b9233c546cf0a71a.tar.xz
main/gettext: link to system expat and libxml2 rather than use internal
patches from gentoo
Diffstat (limited to 'main/gettext/gettext-0.15-expat-no-dlopen.patch')
-rw-r--r--main/gettext/gettext-0.15-expat-no-dlopen.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/gettext/gettext-0.15-expat-no-dlopen.patch b/main/gettext/gettext-0.15-expat-no-dlopen.patch
new file mode 100644
index 0000000000..4630d1dd92
--- /dev/null
+++ b/main/gettext/gettext-0.15-expat-no-dlopen.patch
@@ -0,0 +1,36 @@
+Add support for expat-2 to xgettext by linking it at build time rather than
+at runtime using dlopen
+
+http://bugs.gentoo.org/146211
+
+--- gettext-0.15/gettext-tools/configure
++++ gettext-0.15/gettext-tools/configure
+@@ -44267,19 +44266,6 @@
+
+
+
+-case "$host_os" in
+- linux*)
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define DYNLOAD_LIBEXPAT 1
+-_ACEOF
+-
+- LIBEXPAT="-ldl"
+- LTLIBEXPAT="-ldl"
+-
+-
+- ;;
+- *)
+
+
+
+@@ -44786,8 +44772,6 @@
+
+
+
+- ;;
+-esac
+
+ # If set to t, that means we are running in a shell under Emacs.
+ # If you have an Emacs named "t", then use the full path.