chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / mariadb / cmake-readline.cmake.patch
1 diff -u -r ../mariadb-10.1.22/cmake/readline.cmake ./cmake/readline.cmake
2 --- ../mariadb-10.1.22/cmake/readline.cmake     2017-03-11 20:08:54.000000000 +0100
3 +++ ./cmake/readline.cmake      2017-04-07 02:43:58.242765383 +0200
4 @@ -180,7 +180,7 @@
5      #include <readline.h>
6      int main(int argc, char **argv)
7      {
8 -      int res= (*rl_completion_entry_function)(0,0);
9 +      char* res= (*rl_completion_entry_function)(0,0);
10        completion_matches(0,0);
11      }"
12      LIBEDIT_INTERFACE)