aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-07-01 01:04:10 +0800
committerume <ume@FreeBSD.org>2003-07-01 01:04:10 +0800
commit253e576fcd3c8ab64396f0e293ad272b33b1bbc2 (patch)
treece80b75a7c03175886cff67d44e6c997b2cce8a8
parent9c14ae130b2f9fbec479925518181b04fbecb66b (diff)
downloadfreebsd-ports-gnome-253e576fcd3c8ab64396f0e293ad272b33b1bbc2.tar.gz
freebsd-ports-gnome-253e576fcd3c8ab64396f0e293ad272b33b1bbc2.tar.zst
freebsd-ports-gnome-253e576fcd3c8ab64396f0e293ad272b33b1bbc2.zip
It seems MySQL 4.X support in 2.1.14 is still incomplete.
-rw-r--r--security/cyrus-sasl2/files/patch-plugins::mysql.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-plugins::mysql.c b/security/cyrus-sasl2/files/patch-plugins::mysql.c
new file mode 100644
index 000000000000..4acc910a0e55
--- /dev/null
+++ b/security/cyrus-sasl2/files/patch-plugins::mysql.c
@@ -0,0 +1,12 @@
+Index: plugins/mysql.c
+diff -u plugins/mysql.c.orig plugins/mysql.c
+--- plugins/mysql.c.orig Thu May 15 03:46:02 2003
++++ plugins/mysql.c Tue Jul 1 02:00:55 2003
+@@ -326,6 +326,7 @@
+ "mysql plugin try and connect to %s\n",
+ cur_host);
+
++ mysql_init(&mysql);
+ sock = mysql_real_connect(&mysql,cur_host,
+ settings->mysql_user,
+ settings->mysql_passwd,