summaryrefslogtreecommitdiff
path: root/app-text/unrtf/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/unrtf/files')
-rw-r--r--app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch6
-rw-r--r--app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch10
2 files changed, 16 insertions, 0 deletions
diff --git a/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch b/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch
new file mode 100644
index 000000000000..fdfb52a4637b
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch
@@ -0,0 +1,6 @@
+--- unrtf-0.21.8/charmaps/Makefile.am
++++ unrtf-0.21.8/charmaps/Makefile.am
+@@ -1,2 +1,2 @@
+-outputsdir = ${libdir}/${PACKAGE}
++outputsdir = ${pkgdatadir}
+ dist_outputs_DATA = SYMBOL.charmap
diff --git a/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch b/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch
new file mode 100644
index 000000000000..d5bb142ce558
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch
@@ -0,0 +1,10 @@
+--- unrtf-0.21.8/configure.ac
++++ unrtf-0.21.8/configure.ac
+@@ -46,6 +46,7 @@
+ *-*-cygwin*) AC_SUBST(LIBS, ["-liconv"]);;
+ *aix*) AC_SUBST(LIBS, ["-liconv"]);;
+ *-*-darwin*) AC_SUBST(LIBS, ["-liconv"]);;
++ *-*-solaris*) AC_SUBST(LIBS, ["-liconv"]);;
+ esac
+
+ AC_CONFIG_FILES([Makefile