summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-03-09 11:19:15 +0000
committerFabian Groffen <grobian@gentoo.org>2010-03-09 11:19:15 +0000
commit76ec66e0ff05120a3d23276d93c6233eca50785a (patch)
treec247c3eccd070dff3e640f0a99d014860c2cf12b /app-text/unrtf/files
parentFix building with libpng14. (diff)
downloadhistorical-76ec66e0ff05120a3d23276d93c6233eca50785a.tar.gz
historical-76ec66e0ff05120a3d23276d93c6233eca50785a.tar.bz2
historical-76ec66e0ff05120a3d23276d93c6233eca50785a.zip
Add semi-optimal patch to solve linking issues with libiconv
Package-Manager: portage-2.2.00.15754-prefix/cvs/Darwin powerpc
Diffstat (limited to 'app-text/unrtf/files')
-rw-r--r--app-text/unrtf/files/unrtf-0.21.1-iconv-detection.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-text/unrtf/files/unrtf-0.21.1-iconv-detection.patch b/app-text/unrtf/files/unrtf-0.21.1-iconv-detection.patch
new file mode 100644
index 000000000000..284e9295a315
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.1-iconv-detection.patch
@@ -0,0 +1,14 @@
+--- configure.ac
++++ configure.ac
+@@ -44,7 +44,11 @@
+ AC_CANONICAL_HOST
+ case $host in
+ *-*-cygwin*) AC_SUBST(LIBS, ["-liconv"]);;
++ *-*-darwin*) AC_SUBST(LIBS, ["-liconv"]);;
++ *-*-solaris*) AC_SUBST(LIBS, ["-liconv"]);;
+ esac
++# should actually use this instead (from gettext):
++#AM_ICONV
+
+ AC_CONFIG_FILES([Makefile
+ charmaps/Makefile