summaryrefslogtreecommitdiffstats
path: root/package/ncurses/0003-recognise-uclinux.patch
blob: e86546cc54bf9df95b2bb267af32628cfc62c148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>

diff -durN ncurses-5.9.orig/aclocal.m4 ncurses-5.9/aclocal.m4
--- ncurses-5.9.orig/aclocal.m4	2011-04-01 01:35:38.000000000 +0200
+++ ncurses-5.9/aclocal.m4	2016-08-21 15:24:47.003620029 +0200
@@ -6531,7 +6531,7 @@
 irix[[56]].*) #(vi
 	cf_xopen_source="-D_SGI_SOURCE"
 	;;
-linux*|gnu*|mint*|k*bsd*-gnu) #(vi
+linux*|uclinux*|gnu*|mint*|k*bsd*-gnu) #(vi
 	CF_GNU_SOURCE
 	;;
 mirbsd*) #(vi
diff -durN ncurses-5.9.orig/configure ncurses-5.9/configure
--- ncurses-5.9.orig/configure	2016-08-21 15:21:50.789285661 +0200
+++ ncurses-5.9/configure	2016-08-21 15:24:35.187463625 +0200
@@ -6984,7 +6984,7 @@
 irix[56].*) #(vi
 	cf_xopen_source="-D_SGI_SOURCE"
 	;;
-linux*|gnu*|mint*|k*bsd*-gnu) #(vi
+linux*|uclinux*|gnu*|mint*|k*bsd*-gnu) #(vi
 
 echo "$as_me:6996: checking if we must define _GNU_SOURCE" >&5
 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
OpenPOWER on IntegriCloud