summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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