From b85734e5a8a8069eb9cdd9e433d87a48ad56cd2e Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 1 Apr 2017 15:11:14 +0000 Subject: Update libedit to 20170329 --- .../mysql56-client/files/patch-cmake_readline.cmake | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 databases/mysql56-client/files/patch-cmake_readline.cmake (limited to 'databases/mysql56-client/files/patch-cmake_readline.cmake') diff --git a/databases/mysql56-client/files/patch-cmake_readline.cmake b/databases/mysql56-client/files/patch-cmake_readline.cmake new file mode 100644 index 000000000000..4c251b15fc56 --- /dev/null +++ b/databases/mysql56-client/files/patch-cmake_readline.cmake @@ -0,0 +1,17 @@ +--- cmake/readline.cmake.orig 2016-09-30 11:41:40 UTC ++++ cmake/readline.cmake +@@ -173,11 +173,11 @@ MACRO (FIND_SYSTEM_EDITLINE) + #include + int main(int argc, char **argv) + { +- typedef int MYFunction(const char*, int); ++ typedef char *MYFunction(const char*, int); + MYFunction* myf= rl_completion_entry_function; +- int res= (myf)(NULL, 0); ++ char *res= (myf)(NULL, 0); + completion_matches(0,0); +- return res; ++ return (res != NULL); + }" + EDITLINE_HAVE_COMPLETION) + -- cgit v1.2.3