summarylogtreecommitdiffstats
path: root/0003-Remove-strchr.patch
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2024-03-27 23:28:29 -0300
committerGonzalo Exequiel Pedone2024-03-27 23:28:29 -0300
commit367013d63a0e9ee029c2d73a4f970cef5ed9f417 (patch)
tree1dd18f06f700b13755cfc36f7e0f009c32e1c4b8 /0003-Remove-strchr.patch
downloadaur-android-x86-64-mariadb.tar.gz
New package.
Diffstat (limited to '0003-Remove-strchr.patch')
-rw-r--r--0003-Remove-strchr.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/0003-Remove-strchr.patch b/0003-Remove-strchr.patch
new file mode 100644
index 000000000000..f9dd5b831aec
--- /dev/null
+++ b/0003-Remove-strchr.patch
@@ -0,0 +1,12 @@
+--- a/extra/readline/histlib.h
++++ b/extra/readline/histlib.h
+@@ -51,9 +51,6 @@
+ #endif
+
+ #ifndef member
+-# ifndef strchr
+-extern char *strchr ();
+-# endif
+ #define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0)
+ #endif
+