public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/realpath/files: realpath-1.16-nonls.patch
@ 2011-10-17 19:52 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2011-10-17 19:52 UTC (permalink / raw
  To: gentoo-commits

jlec        11/10/17 19:52:56

  Added:                realpath-1.16-nonls.patch
  Log:
  Add missing nls patch
  
  (Portage version: 2.2.0_alpha68/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-misc/realpath/files/realpath-1.16-nonls.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/realpath/files/realpath-1.16-nonls.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/realpath/files/realpath-1.16-nonls.patch?rev=1.1&content-type=text/plain

Index: realpath-1.16-nonls.patch
===================================================================
 src/realpath.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/realpath.c b/src/realpath.c
index 76fc909..e2cf86f 100644
--- a/src/realpath.c
+++ b/src/realpath.c
@@ -23,10 +23,9 @@
 #include <errno.h>
 #include <getopt.h>
 #include <stdarg.h>
-#include <libintl.h>
 #include <locale.h>
 
-#define _(String) gettext (String)
+#define _(String) (String)
 
 static char *stripdir(char * dir, char *buf, int maxlen);
 
@@ -116,9 +115,6 @@ int main(int argc, char **argv) {
 
 	myname = ( p = strchr(argv[0], '/') ) ? p+1 : argv[0];
 
-	setlocale(LC_ALL, "");
-	bindtextdomain(PACKAGE, LOCALEDIR);
-	textdomain(PACKAGE);
 
 
 	parse_options(argc, argv);






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-17 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 19:52 [gentoo-commits] gentoo-x86 commit in app-misc/realpath/files: realpath-1.16-nonls.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox