kumquat-buildroot/package/ncurses/0002-recognise-uclinux.patch

30 lines
912 B
Diff
Raw Normal View History

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