summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/odt2txt/files')
-rw-r--r--app-text/odt2txt/files/odt2txt-0.5-darwin_iconv.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-text/odt2txt/files/odt2txt-0.5-darwin_iconv.patch b/app-text/odt2txt/files/odt2txt-0.5-darwin_iconv.patch
new file mode 100644
index 000000000000..05957269888e
--- /dev/null
+++ b/app-text/odt2txt/files/odt2txt-0.5-darwin_iconv.patch
@@ -0,0 +1,14 @@
+diff -ur odt2txt-0.4/Makefile odt2txt-0.4/Makefile
+--- odt2txt-0.4/Makefile 2008-06-23 23:32:28 +0400
++++ odt2txt-0.4/Makefile 2010-05-24 15:39:16 +0400
+@@ -56,6 +56,9 @@
+ CFLAGS += -I$(ZLIB_DIR)
+ LIBS = $(ZLIB_DIR)/libz.a
+ endif
++ifeq ($(UNAME_S),Darwin)
++ LIBS += -liconv
++endif
+ ifeq ($(UNAME_O),Cygwin)
+ CFLAGS += -DICONV_CHAR="const char"
+ LIBS += -liconv
+