summaryrefslogtreecommitdiffstats
path: root/package/mysql/0002-use-new-readline-iface.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-12-22 01:00:05 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-22 09:25:19 +0100
commitc705bacd3f9fc7d9164db2679ebbd403190906ae (patch)
tree1b634235a0d8dc755adc6cec29be1003457a2012 /package/mysql/0002-use-new-readline-iface.patch
parentaa36fc34612fcf221e3076fdcb4a39c83c0c397b (diff)
downloadbuildroot-c705bacd3f9fc7d9164db2679ebbd403190906ae.tar.gz
buildroot-c705bacd3f9fc7d9164db2679ebbd403190906ae.zip
package/mysql: rename patches to the new convention
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mysql/0002-use-new-readline-iface.patch')
-rw-r--r--package/mysql/0002-use-new-readline-iface.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mysql/0002-use-new-readline-iface.patch b/package/mysql/0002-use-new-readline-iface.patch
new file mode 100644
index 0000000000..c5906563ce
--- /dev/null
+++ b/package/mysql/0002-use-new-readline-iface.patch
@@ -0,0 +1,21 @@
+Tell MySQL to use the new readline interface even when an external
+readline is being used.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+---
+ configure.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: mysql-5.1.53/configure.in
+===================================================================
+--- mysql-5.1.53.orig/configure.in
++++ mysql-5.1.53/configure.in
+@@ -2689,6 +2689,7 @@
+ # this way we avoid linking commercial source with GPL readline
+ readline_link="-lreadline"
+ want_to_use_readline="yes"
++ AC_DEFINE_UNQUOTED(USE_NEW_READLINE_INTERFACE, 1)
+ elif [test "$mysql_cv_libedit_interface" = "yes"]
+ then
+ # Use libedit
OpenPOWER on IntegriCloud