summaryrefslogtreecommitdiff
path: root/package/util-linux/util-linux-script-libintl.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-09-05 22:16:03 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-05 22:16:03 +0200
commit8a124c78edea6e4c5d80f739575c71af4fe9abce (patch)
treeadaa5a39d88c30a301da6fc332dd3d289c9ce311 /package/util-linux/util-linux-script-libintl.patch
parent5427c506bd652e0d0a6c59d14791018195c59525 (diff)
util-linux: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/util-linux/util-linux-script-libintl.patch')
-rw-r--r--package/util-linux/util-linux-script-libintl.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/util-linux/util-linux-script-libintl.patch b/package/util-linux/util-linux-script-libintl.patch
new file mode 100644
index 000000000..0700aa40f
--- /dev/null
+++ b/package/util-linux/util-linux-script-libintl.patch
@@ -0,0 +1,30 @@
+From 075f251b19509f588d828a81d91b40f47e63e3de Mon Sep 17 00:00:00 2001
+From: Peter Korsgaard <jacmet@sunsite.dk>
+Date: Mon, 5 Sep 2011 21:46:25 +0200
+Subject: [PATCH] script.c: drop libintl.h include
+
+Commit 8fb810ff26 (script: include-what-you-use header check) added a
+<libintl.h> #include, which isn't needed as nls.h includes it (if
+enabled) - But worse, breaks the build for systems without libintl.h
+(like some uClibc configurations).
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ term-utils/script.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/term-utils/script.c b/term-utils/script.c
+index d96ca2f..f708e91 100644
+--- a/term-utils/script.c
++++ b/term-utils/script.c
+@@ -55,7 +55,6 @@
+ #include <getopt.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+-#include <libintl.h>
+ #include <limits.h>
+ #include <locale.h>
+ #include <stddef.h>
+--
+1.7.5.4
+