]> TLD Linux GIT Repositories - packages/dovecot.git/blobdiff - dovecot-mysql.patch
- Add patch to not include libcoredumper in mysql
[packages/dovecot.git] / dovecot-mysql.patch
diff --git a/dovecot-mysql.patch b/dovecot-mysql.patch
new file mode 100644 (file)
index 0000000..35f42ff
--- /dev/null
@@ -0,0 +1,22 @@
+--- m4/want_mysql.m4   2021-12-03 12:48:47.000000000 +0100
++++ m4/want_mysql.m4.new       2022-01-02 18:47:50.748433585 +0100
+@@ -1,8 +1,6 @@
+ AC_DEFUN([DOVECOT_WANT_MYSQL], [
+   have_mysql=no
+   if test $want_mysql != no; then
+-    AC_CHECK_PROG(MYSQL_CONFIG, mysql_config, mysql_config, NO)
+-    if test $MYSQL_CONFIG = NO; then
+       # based on code from PHP
+       MYSQL_LIBS="-lmysqlclient -lz -lm"
+       for i in /usr /usr/local /usr/local/mysql; do
+@@ -17,10 +15,6 @@
+                       fi
+               done
+       done
+-    else
+-      MYSQL_INCLUDE="`$MYSQL_CONFIG --include`"
+-      MYSQL_LIBS="`$MYSQL_CONFIG --libs`"
+-    fi
+   
+     old_LIBS=$LIBS
+     if test "$MYSQL_LIBS" != ""; then