[Pkg-mysql-commits] r1777 - mysql-dfsg-5.1/branches/unstable/debian/patches

Norbert Tretkowski nobse at alioth.debian.org
Fri Nov 20 12:35:44 UTC 2009


Author: nobse
Date: 2009-11-20 12:35:44 +0000 (Fri, 20 Nov 2009)
New Revision: 1777

Added:
   mysql-dfsg-5.1/branches/unstable/debian/patches/10_readline_build_fix.dpatch
Log:
add patch

Added: mysql-dfsg-5.1/branches/unstable/debian/patches/10_readline_build_fix.dpatch
===================================================================
--- mysql-dfsg-5.1/branches/unstable/debian/patches/10_readline_build_fix.dpatch	                        (rev 0)
+++ mysql-dfsg-5.1/branches/unstable/debian/patches/10_readline_build_fix.dpatch	2009-11-20 12:35:44 UTC (rev 1777)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_readline_build_fix.dpatch by Norbert Tretkowski <nobse at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: http://bugs.mysql.com/bug.php?id=35250
+
+ at DPATCH@
+--- mysql-dfsg-5.1-5.1.41/configure.in.orig        2009-11-20 13:32:35.000000000 +0100
++++ mysql-dfsg-5.1-5.1.41/configure.in     2009-11-20 13:32:51.000000000 +0100
+@@ -2691,7 +2691,7 @@
+     fi
+ 
+     # if there is no readline, but we want to build with readline, we fail
+-    if [test "$want_to_use_readline" = "yes"] && [test ! -d "./cmd-line-utils/readline"]
++    if [test "$want_to_use_readline" = "yes"] && [test ! -d "$srcdir/cmd-line-utils/readline"]
+     then
+        AC_MSG_ERROR([This commercially licensed MySQL source package can't
+              be built with libreadline. Please use --with-libedit to use




More information about the Pkg-mysql-commits mailing list