Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/realpath/files: realpath-1.15-nonls.patch
Date: Fri, 30 Apr 2010 17:09:56
Message-Id: 20100430170952.BA0302C043@corvid.gentoo.org
1 jlec 10/04/30 17:09:52
2
3 Added: realpath-1.15-nonls.patch
4 Log:
5 Fix for #300657, thanks Gianluigi Tiesi for providing the patches
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-misc/realpath/files/realpath-1.15-nonls.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/realpath/files/realpath-1.15-nonls.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/realpath/files/realpath-1.15-nonls.patch?rev=1.1&content-type=text/plain
13
14 Index: realpath-1.15-nonls.patch
15 ===================================================================
16 --- realpath-1.15/src/realpath.c.orig 2010-01-12 03:20:42 +0000
17 +++ realpath-1.15/src/realpath.c 2010-01-12 03:20:59 +0000
18 @@ -23,9 +23,8 @@
19 #include <errno.h>
20 #include <getopt.h>
21 #include <stdarg.h>
22 -#include <libintl.h>
23
24 -#define _(String) gettext (String)
25 +#define _(String) (String)
26
27 static char *stripdir(char * dir, char *buf, int maxlen);
28
29 @@ -115,11 +114,6 @@
30
31 myname = ( p = strchr(argv[0], '/') ) ? p+1 : argv[0];
32
33 - setlocale(LC_ALL, "");
34 - bindtextdomain(PACKAGE, LOCALEDIR);
35 - textdomain(PACKAGE);
36 -
37 -
38 parse_options(argc, argv);
39
40 while (optind < argc) {