summaryrefslogtreecommitdiff
path: root/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tools/kconfig-frontends-3.3.0-1-libintl.patch')
-rw-r--r--misc/tools/kconfig-frontends-3.3.0-1-libintl.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch b/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch
index 4774194d0..3fe3f8163 100644
--- a/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch
+++ b/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch
@@ -3,11 +3,11 @@ diff -ru kconfig-frontends-3.3.0-1.orig//frontends/nconf/nconf.c kconfig-fronten
+++ kconfig-frontends-3.3.0-1/frontends/nconf/nconf.c 2012-04-05 15:16:06.590563200 -0600
@@ -1503,7 +1503,7 @@
}
-
+
notimeout(stdscr, FALSE);
- ESCDELAY = 1;
+ //ESCDELAY = 1;
-
+
/* set btns menu */
curses_menu = new_menu(curses_menu_items);
diff -ru kconfig-frontends-3.3.0-1.orig//frontends/nconf/nconf.h kconfig-frontends-3.3.0-1/frontends/nconf/nconf.h
@@ -27,22 +27,22 @@ diff -ru kconfig-frontends-3.3.0-1.orig//libs/lxdialog/dialog.h kconfig-frontend
@@ -26,11 +26,7 @@
#include <string.h>
#include <stdbool.h>
-
+
-#ifndef KBUILD_NO_NLS
-# include <libintl.h>
-#else
# define gettext(Msgid) ((const char *) (Msgid))
-#endif
-
+
#ifdef __sun__
#define CURS_MACROS
diff -ru kconfig-frontends-3.3.0-1.orig//libs/parser/lkc.h kconfig-frontends-3.3.0-1/libs/parser/lkc.h
--- kconfig-frontends-3.3.0-1.orig//libs/parser/lkc.h 2012-03-20 16:07:45.000000000 -0600
+++ kconfig-frontends-3.3.0-1/libs/parser/lkc.h 2012-04-05 14:59:02.969015400 -0600
@@ -8,14 +8,10 @@
-
+
#include "expr.h"
-
+
-#ifndef KBUILD_NO_NLS
-# include <libintl.h>
-#else
@@ -51,7 +51,7 @@ diff -ru kconfig-frontends-3.3.0-1.orig//libs/parser/lkc.h kconfig-frontends-3.3
static inline void bindtextdomain(const char *name, const char *dir) {}
static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c; }
-#endif
-
+
#ifdef __cplusplus
extern "C" {
diff -ru kconfig-frontends-3.3.0-1.orig//libs/parser/yconf.c kconfig-frontends-3.3.0-1/libs/parser/yconf.c
@@ -59,7 +59,7 @@ diff -ru kconfig-frontends-3.3.0-1.orig//libs/parser/yconf.c kconfig-frontends-3
+++ kconfig-frontends-3.3.0-1/libs/parser/yconf.c 2012-04-05 14:59:40.732175300 -0600
@@ -285,12 +285,6 @@
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
-
+
#ifndef YY_
-# if YYENABLE_NLS
-# if ENABLE_NLS