You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/realpath/files/realpath-1.16-nonls.patch

30 lines
685 B

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);