diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-03 08:52:56 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-03 08:52:56 +0000 |
commit | bbdf9df60a72afd3e36c88e94e1f3fddf6cad185 (patch) | |
tree | 0d8f7842a98d4c3fcda60bddd67129970dab51fb /package/util-linux/util-linux-no-nls-fix.patch | |
parent | 890412421b1c5ef5dcc4fe9483fb172961adb973 (diff) | |
download | buildroot-novena-bbdf9df60a72afd3e36c88e94e1f3fddf6cad185.tar.gz buildroot-novena-bbdf9df60a72afd3e36c88e94e1f3fddf6cad185.zip |
util-linux: bump version
Fixes #19
Diffstat (limited to 'package/util-linux/util-linux-no-nls-fix.patch')
-rw-r--r-- | package/util-linux/util-linux-no-nls-fix.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/util-linux/util-linux-no-nls-fix.patch b/package/util-linux/util-linux-no-nls-fix.patch new file mode 100644 index 000000000..c02009f08 --- /dev/null +++ b/package/util-linux/util-linux-no-nls-fix.patch @@ -0,0 +1,25 @@ +[PATCH]: fix util-linux build without NLS support + +util-linux partly supports builds without NLS support, but it forgets to +provide a dummy setlocale() macro. + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + include/nls.h | 4 ++++ + 1 file changed, 4 insertions(+) + +Index: util-linux-2.13-pre7/include/nls.h +=================================================================== +--- util-linux-2.13-pre7.orig/include/nls.h ++++ util-linux-2.13-pre7/include/nls.h +@@ -19,6 +19,10 @@ + # define textdomain(Domain) /* empty */ + # define _(Text) (Text) + # define N_(Text) (Text) ++# undef LC_ALL ++# define LC_ALL 0 ++# undef setlocale ++# define setlocale(category, locale) + #endif + + |