From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/cadaver/files: cadaver-0.23.2-disable-nls.patch |
Date: | Sat, 29 Mar 2008 08:08:28 |
Message-Id: | E1JfW70-0001Id-7R@stork.gentoo.org |
1 | graaff 08/03/29 08:08:26 |
2 | |
3 | Added: cadaver-0.23.2-disable-nls.patch |
4 | Log: |
5 | Fix building with USE=-nls |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-misc/cadaver/files/cadaver-0.23.2-disable-nls.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cadaver/files/cadaver-0.23.2-disable-nls.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/cadaver/files/cadaver-0.23.2-disable-nls.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: cadaver-0.23.2-disable-nls.patch |
15 | =================================================================== |
16 | Fix building with --disable-nls. |
17 | --- src/cadaver.c.~1~ 2007-08-22 14:17:27.000000000 +0200 |
18 | +++ src/cadaver.c 2008-03-29 08:58:57.248793293 +0100 |
19 | @@ -838,11 +838,12 @@ |
20 | |
21 | progname = argv[0]; |
22 | |
23 | +#ifdef ENABLE_NLS |
24 | + |
25 | #ifdef HAVE_SETLOCALE |
26 | setlocale(LC_ALL, ""); |
27 | #endif |
28 | |
29 | -#ifdef ENABLE_NLS |
30 | bindtextdomain(PACKAGE_NAME, LOCALEDIR); |
31 | textdomain(PACKAGE_NAME); |
32 | #endif /* ENABLE_NLS */ |
33 | |
34 | |
35 | |
36 | -- |
37 | gentoo-commits@l.g.o mailing list |