aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/readline/patches/001-curses-link.patch
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2019-01-12 18:07:25 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-22 08:49:36 +0100
commit166b335e6eeabcbcd0a3f817e210a5166dcdb202 (patch)
treee4a45802b035f5bd07ac64d2fd07d95b2a70c4fc /package/libs/readline/patches/001-curses-link.patch
parent4da73af112838bfd7d386a9e53999a5869bc4c59 (diff)
downloadupstream-166b335e6eeabcbcd0a3f817e210a5166dcdb202.tar.gz
upstream-166b335e6eeabcbcd0a3f817e210a5166dcdb202.tar.bz2
upstream-166b335e6eeabcbcd0a3f817e210a5166dcdb202.zip
readline: Update to 8.0 and various fixes
Update (lib)readline to 8.0 Remove autoreconf Remove blankspace at the end of the lines in description Remove --enable-shared and --enable-static as they're enabled by default Remove TARGET_CPPFLAGS Simplify install sections Install readline.pc (pkgconfig) Add patch for linking (lib)ncurses Source: https://git.buildroot.net/buildroot/plain/package/readline/0000-curses-link.patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'package/libs/readline/patches/001-curses-link.patch')
-rw-r--r--package/libs/readline/patches/001-curses-link.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/libs/readline/patches/001-curses-link.patch b/package/libs/readline/patches/001-curses-link.patch
new file mode 100644
index 0000000000..dc18931517
--- /dev/null
+++ b/package/libs/readline/patches/001-curses-link.patch
@@ -0,0 +1,16 @@
+link readline directly to ncurses since it needs symbols from it
+
+upstream readline does this on purpose (no direct linking), but
+it doesn't make much sense in a Linux world
+
+--- a/support/shobj-conf
++++ b/support/shobj-conf
+@@ -42,7 +42,7 @@ SHOBJ_XLDFLAGS=
+ SHOBJ_LIBS=
+
+ SHLIB_XLDFLAGS=
+-SHLIB_LIBS=
++SHLIB_LIBS=-lncurses
+
+ SHLIB_DOT='.'
+ SHLIB_LIBPREF='lib'