From: | "Ulrich Mueller (ulm)" <ulm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-libs/openmotif/files: openmotif-2.3.0-freebsd-libiconv.patch |
Date: | Tue, 01 Jul 2008 19:30:45 |
Message-Id: | E1KDlYm-0008NK-9S@stork.gentoo.org |
1 | ulm 08/07/01 19:30:40 |
2 | |
3 | Modified: openmotif-2.3.0-freebsd-libiconv.patch |
4 | Log: |
5 | Support utf8 and depend on libiconv if (and only if) USE=unicode. |
6 | (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.2 x11-libs/openmotif/files/openmotif-2.3.0-freebsd-libiconv.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/files/openmotif-2.3.0-freebsd-libiconv.patch?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/files/openmotif-2.3.0-freebsd-libiconv.patch?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/files/openmotif-2.3.0-freebsd-libiconv.patch?r1=1.1&r2=1.2 |
14 | |
15 | Index: openmotif-2.3.0-freebsd-libiconv.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/x11-libs/openmotif/files/openmotif-2.3.0-freebsd-libiconv.patch,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- openmotif-2.3.0-freebsd-libiconv.patch 25 Apr 2008 14:40:28 -0000 1.1 |
22 | +++ openmotif-2.3.0-freebsd-libiconv.patch 1 Jul 2008 19:30:39 -0000 1.2 |
23 | @@ -10,3 +10,15 @@ |
24 | fi |
25 | |
26 | AC_FIND_XFT |
27 | +--- openmotif-2.3.0-orig/lib/Xm/ResEncod.c 2006-11-21 20:50:31.000000000 +0100 |
28 | ++++ openmotif-2.3.0/lib/Xm/ResEncod.c 2008-07-01 20:29:19.000000000 +0200 |
29 | +@@ -50,7 +50,9 @@ |
30 | + #endif |
31 | + #include <string.h> |
32 | + #include <ctype.h> |
33 | ++#ifdef UTF8_SUPPORTED |
34 | + #include <iconv.h> |
35 | ++#endif |
36 | + #include <errno.h> |
37 | + #include <Xm/XmosP.h> |
38 | + #include "MessagesI.h" |
39 | |
40 | |
41 | |
42 | -- |
43 | gentoo-commits@l.g.o mailing list |