summaryrefslogtreecommitdiff
path: root/package/util-linux/patches/patch-term-utils_setterm_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 13:04:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 13:04:52 +0200
commit1ebda4d177a64d16ecc23e65745fe31001a90af7 (patch)
treec72ca3facd4e8b498e4f2482c9cc311919fb4c12 /package/util-linux/patches/patch-term-utils_setterm_c
parente4e8ca04a55b982e1e8e36bbec832365513904b3 (diff)
update to latest stable upstream, fix uclibc/musl issues
Diffstat (limited to 'package/util-linux/patches/patch-term-utils_setterm_c')
-rw-r--r--package/util-linux/patches/patch-term-utils_setterm_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/util-linux/patches/patch-term-utils_setterm_c b/package/util-linux/patches/patch-term-utils_setterm_c
new file mode 100644
index 000000000..bd84e5bbb
--- /dev/null
+++ b/package/util-linux/patches/patch-term-utils_setterm_c
@@ -0,0 +1,13 @@
+patch taken from sabotage linux -- https://github.com/rofl0r/sabotage
+
+--- util-linux-2.23.2.orig/term-utils/setterm.c 2013-06-13 09:46:10.000000000 +0200
++++ util-linux-2.23.2/term-utils/setterm.c 2013-08-14 12:47:43.000000000 +0200
+@@ -123,7 +123,7 @@
+ #include "nls.h"
+ #include "closestream.h"
+
+-#if __GNU_LIBRARY__ < 5
++#if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 5
+ #ifndef __alpha__
+ # include <linux/unistd.h>
+ #define __NR_klogctl __NR_syslog