]> git.pld-linux.org Git - packages/mysql.git/blobdiff - mysql-cmake.patch
- up to 5.6.51; 43594 seems to be fixed
[packages/mysql.git] / mysql-cmake.patch
index 7b7ae1c2100e24e5d81f3a164bf7ed8f352c8c60..7239ca7b2c209753238271bca0c70c6c39601079 100644 (file)
@@ -37,7 +37,7 @@
      int main(int argc, char **argv)
      {
         HIST_ENTRY entry;
-@@ -170,14 +170,13 @@
+@@ -179,7 +179,7 @@
  
      CHECK_CXX_SOURCE_COMPILES("
      #include <stdio.h>
 +    #include <readline/readline.h>
      int main(int argc, char **argv)
      {
--      typedef int MYFunction(const char*, int);
--      MYFunction* myf= rl_completion_entry_function;
--      int res= (myf)(NULL, 0);
--      completion_matches(0,0);
--      return res;
-+      rl_compentry_func_t *myf= rl_completion_entry_function;
-+      char *res= (myf)(NULL, 0);
-+      rl_completion_matches(0,0);
-+      return res ? 0 : 1;
-     }"
-     EDITLINE_HAVE_COMPLETION)
+       typedef int MYFunction(const char*, int);
+@@ -192,7 +192,7 @@
  
+     CHECK_CXX_SOURCE_COMPILES("
+     #include <stdio.h>
+-    #include <readline.h>
++    #include <readline/readline.h>
+     int main(int argc, char **argv)
+     {
+       typedef char* MYFunction(const char*, int);
+
This page took 0.036578 seconds and 4 git commands to generate.