[arch-commits] Commit in pdns/trunk (2.9.18-default-mysql-options.patch PKGBUILD)
Douglas Soares de Andrade
douglas at archlinux.org
Thu Mar 26 02:29:30 UTC 2009
Date: Wednesday, March 25, 2009 @ 22:29:29
Author: douglas
Revision: 31358
upgpkg: pdns 2.9.22-2
Updating to add the mysql-options patch
Added:
pdns/trunk/2.9.18-default-mysql-options.patch
Modified:
pdns/trunk/PKGBUILD
------------------------------------+
2.9.18-default-mysql-options.patch | 13 +++++++++++++
PKGBUILD | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
Added: 2.9.18-default-mysql-options.patch
===================================================================
--- 2.9.18-default-mysql-options.patch (rev 0)
+++ 2.9.18-default-mysql-options.patch 2009-03-26 02:29:29 UTC (rev 31358)
@@ -0,0 +1,13 @@
+diff -Nur pdns-2.9.18.orig/modules/gmysqlbackend/smysql.cc pdns-2.9.18/modules/gmysqlbackend/smysql.cc
+--- pdns-2.9.18.orig/modules/gmysqlbackend/smysql.cc 2005-04-23 23:40:15.000000000 +0200
++++ pdns-2.9.18/modules/gmysqlbackend/smysql.cc 2005-07-17 10:38:35.363597586 +0200
+@@ -15,6 +15,9 @@
+ const string &password)
+ {
+ mysql_init(&d_db);
++#if MYSQL_VERSION_ID > 32349
++ mysql_options(&d_db, MYSQL_READ_DEFAULT_GROUP, "client");
++#endif
+ if (!mysql_real_connect(&d_db, host.empty() ? 0 : host.c_str(),
+ user.empty() ? 0 : user.c_str(),
+ password.empty() ? 0 : password.c_str(),
Property changes on: pdns/trunk/2.9.18-default-mysql-options.patch
___________________________________________________________________
Added: svn:executable
+ *
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-03-26 01:40:36 UTC (rev 31357)
+++ PKGBUILD 2009-03-26 02:29:29 UTC (rev 31358)
@@ -3,7 +3,7 @@
pkgname=pdns
pkgver=2.9.22
-pkgrel=1
+pkgrel=2
pkgdesc="A modern, advanced and high performance authoritative-only nameserver"
arch=(i686 x86_64)
url="http://www.powerdns.com"
More information about the arch-commits
mailing list