From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/odt2txt/files: odt2txt-0.4-darwin_iconv.patch |
Date: | Fri, 05 Nov 2010 14:38:51 |
Message-Id: | 20101105143846.A15DF20054@flycatcher.gentoo.org |
1 | hwoarang 10/11/05 14:38:46 |
2 | |
3 | Added: odt2txt-0.4-darwin_iconv.patch |
4 | Log: |
5 | Moved from sunrise overlay. Bug #263574 |
6 | |
7 | (Portage version: 2.2.0_alpha3_p8/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: odt2txt-0.4-darwin_iconv.patch |
16 | =================================================================== |
17 | diff -ur odt2txt-0.4/Makefile odt2txt-0.4/Makefile |
18 | --- odt2txt-0.4/Makefile 2008-06-23 23:32:28 +0400 |
19 | +++ odt2txt-0.4/Makefile 2010-05-24 15:39:16 +0400 |
20 | @@ -56,6 +56,9 @@ |
21 | CFLAGS += -I$(ZLIB_DIR) |
22 | LIBS = $(ZLIB_DIR)/libz.a |
23 | endif |
24 | +ifeq ($(UNAME_S),Darwin) |
25 | + LIBS += -liconv |
26 | +endif |
27 | ifeq ($(UNAME_O),Cygwin) |
28 | CFLAGS += -DICONV_CHAR="const char" |
29 | LIBS += -liconv |