summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-11-05 14:38:46 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-11-05 14:38:46 +0000
commit0f580330b6a9e2c79992841d0831d39219e1689c (patch)
treeb24b1579520cf0a295a0d577750aa2614618b48d /app-text/odt2txt/files
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-0f580330b6a9e2c79992841d0831d39219e1689c.tar.gz
gentoo-2-0f580330b6a9e2c79992841d0831d39219e1689c.tar.bz2
gentoo-2-0f580330b6a9e2c79992841d0831d39219e1689c.zip
Moved from sunrise overlay. Bug #263574
(Portage version: 2.2.0_alpha3_p8/cvs/Linux x86_64)
Diffstat (limited to 'app-text/odt2txt/files')
-rw-r--r--app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch b/app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch
new file mode 100644
index 000000000000..05957269888e
--- /dev/null
+++ b/app-text/odt2txt/files/odt2txt-0.4-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
+