Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,89 +0,0 @@
|
||||
Change handling of PKG_CONFIG_LIBDIR
|
||||
|
||||
When PKG_CONFIG_LIBDIR was unset in the environment, the configure
|
||||
script was deducing the PKG_CONFIG_LIBDIR from the location of the
|
||||
pkg-config binary, which doesn't make a lot of sense, and isn't done
|
||||
by other autotools based packages.
|
||||
|
||||
Also, the configure script was checking that the directory really
|
||||
exists. This forced to create the directory *and* provide an absolute
|
||||
path in PKG_CONFIG_LIBDIR, which didn't play well with the fact that
|
||||
at installation time, PKG_CONFIG_LIBDIR is suffixed to DESTDIR, which
|
||||
means that we got two times the staging directory location.
|
||||
|
||||
This patch fixes both of those issues. Also, since ncurses uses a fork
|
||||
of autoconf 2.13, we can't simply use _AUTORECONF=YES, so we also fix
|
||||
the configure script in this patch.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure
|
||||
===================================================================
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3623,27 +3623,20 @@
|
||||
|
||||
# Leave this as something that can be overridden in the environment.
|
||||
if test -z "$PKG_CONFIG_LIBDIR" ; then
|
||||
- PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG" | sed -e 's,/[^/]*/[^/]*$,,'`/lib/pkgconfig
|
||||
+ PKG_CONFIG_LIBDIR="/usr/lib/pkgconfig"
|
||||
fi
|
||||
+
|
||||
PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'`
|
||||
- if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
|
||||
|
||||
-# Check whether --enable-pc-files or --disable-pc-files was given.
|
||||
-if test "${enable_pc_files+set}" = set; then
|
||||
- enableval="$enable_pc_files"
|
||||
- enable_pc_files=$enableval
|
||||
-else
|
||||
- enable_pc_files=no
|
||||
-fi;
|
||||
- echo "$as_me:3638: result: $enable_pc_files" >&5
|
||||
-echo "${ECHO_T}$enable_pc_files" >&6
|
||||
+ # Check whether --enable-pc-files or --disable-pc-files was given.
|
||||
+ if test "${enable_pc_files+set}" = set; then
|
||||
+ enableval="$enable_pc_files"
|
||||
+ enable_pc_files=$enableval
|
||||
else
|
||||
- echo "$as_me:3641: result: no" >&5
|
||||
-echo "${ECHO_T}no" >&6
|
||||
- { echo "$as_me:3643: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&5
|
||||
-echo "$as_me: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&2;}
|
||||
- enable_pc_files=no
|
||||
- fi
|
||||
+ enable_pc_files=no
|
||||
+ fi;
|
||||
+ echo "$as_me:3638: result: $enable_pc_files" >&5
|
||||
+ echo "${ECHO_T}$enable_pc_files" >&6
|
||||
fi
|
||||
|
||||
echo "$as_me:3649: checking if we should assume mixed-case filenames" >&5
|
||||
Index: b/configure.in
|
||||
===================================================================
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -174,20 +174,14 @@
|
||||
|
||||
# Leave this as something that can be overridden in the environment.
|
||||
if test -z "$PKG_CONFIG_LIBDIR" ; then
|
||||
- PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG" | sed -e 's,/[[^/]]*/[[^/]]*$,,'`/lib/pkgconfig
|
||||
+ PKG_CONFIG_LIBDIR="/usr/lib/pkgconfig"
|
||||
fi
|
||||
PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'`
|
||||
- if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
|
||||
- AC_ARG_ENABLE(pc-files,
|
||||
+ AC_ARG_ENABLE(pc-files,
|
||||
[ --enable-pc-files generate and install .pc files for pkg-config],
|
||||
[enable_pc_files=$enableval],
|
||||
[enable_pc_files=no])
|
||||
- AC_MSG_RESULT($enable_pc_files)
|
||||
- else
|
||||
- AC_MSG_RESULT(no)
|
||||
- AC_MSG_WARN(did not find library $PKG_CONFIG_LIBDIR)
|
||||
- enable_pc_files=no
|
||||
- fi
|
||||
+ AC_MSG_RESULT($enable_pc_files)
|
||||
fi
|
||||
AC_SUBST(PKG_CONFIG_LIBDIR)
|
||||
|
||||
@@ -12,9 +12,9 @@ http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=97bb4678dc03e753290b39b
|
||||
Original author: Thomas E. Dickey <dickey@invisible-island.net>
|
||||
Signed-off-by: Mikhail Peselnik <bas@bmail.ru>
|
||||
|
||||
--- a/ncurses/base/MKlib_gen.sh.orig 2015-07-23 21:52:32.239481505 +0300
|
||||
+++ b/ncurses/base/MKlib_gen.sh 2015-07-23 21:53:20.772966587 +0300
|
||||
@@ -437,11 +437,22 @@
|
||||
--- a/ncurses/base/MKlib_gen.sh 2015-08-06 20:48:24.000000000 -0400
|
||||
+++ b/ncurses/base/MKlib_gen.sh 2017-02-07 10:09:01.293962392 -0500
|
||||
@@ -491,11 +491,22 @@
|
||||
-e 's/gen_$//' \
|
||||
-e 's/ / /g' >>$TMP
|
||||
|
||||
29
bsp/buildroot/package/ncurses/0002-recognise-uclinux.patch
Normal file
29
bsp/buildroot/package/ncurses/0002-recognise-uclinux.patch
Normal file
@@ -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
|
||||
@@ -1,30 +0,0 @@
|
||||
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
|
||||
@@ -1,8 +1,8 @@
|
||||
config BR2_PACKAGE_NCURSES
|
||||
bool "ncurses"
|
||||
help
|
||||
The Ncurses (new curses) library is a free software emulation of
|
||||
curses in System V Release 4.0, and more.
|
||||
The Ncurses (new curses) library is a free software
|
||||
emulation of curses in System V Release 4.0, and more.
|
||||
|
||||
This package installs only a few vital termcap entries
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b ncurses-5.9.tar.gz
|
||||
sha256 f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260 ncurses-6.0.tar.gz
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NCURSES_VERSION = 5.9
|
||||
NCURSES_VERSION = 6.0
|
||||
NCURSES_SITE = $(BR2_GNU_MIRROR)/ncurses
|
||||
NCURSES_INSTALL_STAGING = YES
|
||||
NCURSES_DEPENDENCIES = host-ncurses
|
||||
NCURSES_LICENSE = MIT with advertising clause
|
||||
NCURSES_LICENSE_FILES = README
|
||||
NCURSES_CONFIG_SCRIPTS = ncurses$(NCURSES_LIB_SUFFIX)$(NCURSES_ABI_VERSION)-config
|
||||
NCURSES_CONFIG_SCRIPTS = ncurses$(NCURSES_LIB_SUFFIX)6-config
|
||||
|
||||
NCURSES_CONF_OPTS = \
|
||||
--without-cxx \
|
||||
@@ -25,6 +25,7 @@ NCURSES_CONF_OPTS = \
|
||||
--enable-const \
|
||||
--enable-overwrite \
|
||||
--enable-pc-files \
|
||||
--with-pkg-config-libdir="/usr/lib/pkgconfig" \
|
||||
$(if $(BR2_PACKAGE_NCURSES_TARGET_PROGS),,--without-progs) \
|
||||
--without-manpages
|
||||
|
||||
@@ -49,6 +50,7 @@ NCURSES_TERMINFO_FILES = \
|
||||
d/dumb \
|
||||
l/linux \
|
||||
p/putty \
|
||||
p/putty-256color \
|
||||
p/putty-vt100 \
|
||||
s/screen \
|
||||
s/screen-256color \
|
||||
@@ -58,8 +60,10 @@ NCURSES_TERMINFO_FILES = \
|
||||
v/vt200 \
|
||||
v/vt220 \
|
||||
x/xterm \
|
||||
x/xterm+256color \
|
||||
x/xterm-256color \
|
||||
x/xterm-color \
|
||||
x/xterm-xfree86 \
|
||||
x/xterm-xfree86
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
||||
NCURSES_CONF_OPTS += --enable-widec
|
||||
@@ -96,17 +100,10 @@ NCURSES_LINK_STAGING_LIBS = \
|
||||
NCURSES_LINK_STAGING_PC = $(call NCURSES_LINK_PC)
|
||||
|
||||
NCURSES_CONF_OPTS += --enable-ext-colors
|
||||
NCURSES_ABI_VERSION = 6
|
||||
NCURSES_TERMINFO_FILES += \
|
||||
p/putty-256color \
|
||||
x/xterm+256color \
|
||||
x/xterm-256color
|
||||
|
||||
NCURSES_POST_INSTALL_STAGING_HOOKS += NCURSES_LINK_STAGING_LIBS
|
||||
NCURSES_POST_INSTALL_STAGING_HOOKS += NCURSES_LINK_STAGING_PC
|
||||
|
||||
else # BR2_PACKAGE_NCURSES_WCHAR
|
||||
NCURSES_ABI_VERSION = 5
|
||||
endif # BR2_PACKAGE_NCURSES_WCHAR
|
||||
|
||||
ifneq ($(BR2_ENABLE_DEBUG),y)
|
||||
@@ -154,6 +151,8 @@ HOST_NCURSES_CONF_OPTS = \
|
||||
--without-cxx \
|
||||
--without-cxx-binding \
|
||||
--without-ada \
|
||||
--with-default-terminfo-dir=/usr/share/terminfo \
|
||||
--disable-db-install \
|
||||
--without-normal
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user