summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2013-04-23 23:14:16 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2013-04-23 23:14:16 +0000
commit0f1674fc0494d50b7c49f14a65fab81ff69568a0 (patch)
treef7bb816b1760e31f358e82c38f664b6ea72cfd13 /20003_all_fix-5.7-library.patch
parentFix bad CMake references to zlib and readline in 5.6 (diff)
downloadmysql-extras-0f1674fc0494d50b7c49f14a65fab81ff69568a0.tar.gz
mysql-extras-0f1674fc0494d50b7c49f14a65fab81ff69568a0.tar.bz2
mysql-extras-0f1674fc0494d50b7c49f14a65fab81ff69568a0.zip
Reworked Brian Evans patch for fixing bad CMake references for readline for mysql-5.7.
Diffstat (limited to '20003_all_fix-5.7-library.patch')
-rw-r--r--20003_all_fix-5.7-library.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/20003_all_fix-5.7-library.patch b/20003_all_fix-5.7-library.patch
new file mode 100644
index 0000000..8f0c938
--- /dev/null
+++ b/20003_all_fix-5.7-library.patch
@@ -0,0 +1,15 @@
+--- mysql-5.6-5.6.9-rc+dfsg.orig/cmake/readline.cmake
++++ mysql-5.6-5.6.9-rc+dfsg/cmake/readline.cmake
+@@ -192,9 +192,9 @@ MACRO (MYSQL_CHECK_READLINE)
+ IF(WITH_LIBEDIT)
+ MYSQL_USE_BUNDLED_LIBEDIT()
+ ELSE()
+- FIND_SYSTEM_LIBEDIT(edit)
+- IF(NOT_LIBEDIT_FOUND)
+- MESSAGE(FATAL_ERROR "Cannot find system libedit libraries.Use WITH_LIBEDIT")
++ FIND_SYSTEM_LIBEDIT(readline)
++ IF(NOT_LIBREADLINE_FOUND)
++ MESSAGE(FATAL_ERROR "Cannot find system libreadline libraries.Use WITH_LIBREADLINE")
+ ENDIF()
+ ENDIF()
+ ENDIF(NOT WIN32)