summaryrefslogtreecommitdiffstats
path: root/package/ncurses/0002-recognise-uclinux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ncurses/0002-recognise-uclinux.patch')
-rw-r--r--package/ncurses/0002-recognise-uclinux.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/ncurses/0002-recognise-uclinux.patch b/package/ncurses/0002-recognise-uclinux.patch
new file mode 100644
index 0000000000..57dd4cf37f
--- /dev/null
+++ b/package/ncurses/0002-recognise-uclinux.patch
@@ -0,0 +1,29 @@
+aclocal: fix detection for uclinux hosts
+uclinux is just a linux like the others...
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+Signed-off-by: "Adam Duskett" <aduskett@gmail.com>
+
+--- a/aclocal.m4 2015-08-05 20:46:34.000000000 -0400
++++ b/aclocal.m4 2017-02-07 09:58:17.770056849 -0500
+@@ -7656,7 +7656,7 @@
+ cf_xopen_source="-D_SGI_SOURCE"
+ cf_XOPEN_SOURCE=
+ ;;
+-(linux*|gnu*|mint*|k*bsd*-gnu)
++(linux*|uclinux*|gnu*|mint*|k*bsd*-gnu)
+ CF_GNU_SOURCE
+ ;;
+ (minix*)
+diff -durN a/configure b/configure
+--- a/configure 2015-08-05 05:20:32.000000000 -0400
++++ b/configure 2017-02-07 09:58:52.883886426 -0500
+@@ -7869,7 +7869,7 @@
+ cf_xopen_source="-D_SGI_SOURCE"
+ cf_XOPEN_SOURCE=
+ ;;
+-(linux*|gnu*|mint*|k*bsd*-gnu)
++(linux*|uclinux*|gnu*|mint*|k*bsd*-gnu)
+
+ echo "$as_me:7874: checking if we must define _GNU_SOURCE" >&5
+ echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
OpenPOWER on IntegriCloud