summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-30 09:44:49 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-30 09:44:49 +0000
commitb19fe2038ffc977b13b9eb7f2c216866f14a232a (patch)
treefdac376d2b995da7dacb7e55ee89692a7f1098b5
parentc5ddd7284e3dc6327fbe348b0d0ca681aa1fb6ef (diff)
downloadmidipix_build-b19fe2038ffc977b13b9eb7f2c216866f14a232a.tar.bz2
midipix_build-b19fe2038ffc977b13b9eb7f2c216866f14a232a.tar.xz
vars/build.vars:native_packages_deps: adds libreadline v7.0 (via Redfoxmoon.)
patches/libreadline-7.0.local.patch:shlib/Makefile.in: always link w/ -lncurses (via Redfoxmoon.)
-rw-r--r--patches/libreadline-7.0.local.patch12
-rw-r--r--vars/build.vars6
2 files changed, 17 insertions, 1 deletions
diff --git a/patches/libreadline-7.0.local.patch b/patches/libreadline-7.0.local.patch
new file mode 100644
index 00000000..4e93ec3a
--- /dev/null
+++ b/patches/libreadline-7.0.local.patch
@@ -0,0 +1,12 @@
+diff -ru readline-7.0.orig/shlib/Makefile.in readline-7.0/shlib/Makefile.in
+--- readline-7.0.orig/shlib/Makefile.in 2015-07-13 00:41:58.000000000 +0200
++++ readline-7.0/shlib/Makefile.in 2017-12-30 00:39:53.919481249 +0100
+@@ -86,7 +86,7 @@
+ SHOBJ_LIBS = @SHOBJ_LIBS@
+
+ SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
+-SHLIB_LIBS = @SHLIB_LIBS@
++SHLIB_LIBS = @SHLIB_LIBS@ -lncurses
+
+ SHLIB_DOT = @SHLIB_DOT@
+ SHLIB_LIBPREF = @SHLIB_LIBPREF@
diff --git a/vars/build.vars b/vars/build.vars
index e606b529..6810cf77 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -336,7 +336,7 @@ NATIVE_PACKAGES_DEPS_PACKAGES="
expat libxml2 alsa_lib apr apr_util bzip2 curl libz lmdb libpng libjpeg_turbo
tiff giflib libffi gdbm geoip pcre glib gzip libarchive libatomic_ops
libpipeline libressl libevent libfetch libgpg_error libassuan libfirm libgcrypt
-libksba libudns lua ncurses ncursestw ncursesw npth popt shared_mime_info
+libksba libreadline libudns lua ncurses ncursestw ncursesw npth popt shared_mime_info
sqlite3 w32api w32lib xz cmake";
NATIVE_PACKAGES_DEPS_PREFIX="${PREFIX_NATIVE}";
NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python";
@@ -461,6 +461,10 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python";
: ${PKG_LIBKSBA_SHA256SUM:=41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340};
: ${PKG_LIBKSBA_VERSION:=1.3.5};
: ${PKG_LIBKSBA_URL:=https://www.gnupg.org/ftp/gcrypt/libksba/libksba-${PKG_LIBKSBA_VERSION}.tar.bz2};
+: ${PKG_LIBREADLINE_SHA256SUM:=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334};
+: ${PKG_LIBREADLINE_VERSION:=7.0};
+: ${PKG_LIBREADLINE_URL:=ftp://ftp.gnu.org/gnu/readline/readline-${PKG_LIBREADLINE_VERSION}.tar.gz};
+: ${PKG_LIBREADLINE_CONFIGURE_ARGS_EXTRA:="--with-curses --disable-static"};
: ${PKG_LIBUDNS_URLS_GIT:=libudns=https://github.com/shadowsocks/libudns.git@master};
: ${PKG_LUA_SHA256SUM:=5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2};
: ${PKG_LUA_VERSION:=5.3.3};