You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/odt2txt/files/odt2txt-0.5-darwin_iconv.patch

15 lines
366 B

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