package/readline: add Signed-off-by and renumber patch
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 11 Apr 2021 15:36:22 +0000 (17:36 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 11 Apr 2021 18:04:11 +0000 (20:04 +0200)
Add Signed-off-by and while at it, renumber it

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=13731

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/readline/0000-curses-link.patch [deleted file]
package/readline/0001-curses-link.patch [new file with mode: 0644]

diff --git a/package/readline/0000-curses-link.patch b/package/readline/0000-curses-link.patch
deleted file mode 100644 (file)
index 56b4770..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-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_LIBS=
- SHLIB_XLDFLAGS=
--SHLIB_LIBS=
-+SHLIB_LIBS=-lncurses
- SHLIB_DOT='.'
- SHLIB_LIBPREF='lib'
diff --git a/package/readline/0001-curses-link.patch b/package/readline/0001-curses-link.patch
new file mode 100644 (file)
index 0000000..6afc5ba
--- /dev/null
@@ -0,0 +1,18 @@
+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
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+--- a/support/shobj-conf
++++ b/support/shobj-conf
+@@ -42,7 +42,7 @@
+ SHOBJ_LIBS=
+ SHLIB_XLDFLAGS=
+-SHLIB_LIBS=
++SHLIB_LIBS=-lncurses
+ SHLIB_DOT='.'
+ SHLIB_LIBPREF='lib'