diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-06-12 04:45:11 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-06-12 04:45:11 +0000 |
commit | aaf37bfc78c9e4dc6d52a1ed5c5fb52d26d2dd83 (patch) | |
tree | b6732ebf144308afceb410dba9afcb2970aeb045 /dns/powerdns | |
parent | Fix malloc problem. (diff) |
- fix a problem with mysql
Reported by: maarten@dwaas.org
Notes
Notes:
svn path=/head/; revision=82845
Diffstat (limited to 'dns/powerdns')
-rw-r--r-- | dns/powerdns/Makefile | 1 | ||||
-rw-r--r-- | dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc | 24 |
2 files changed, 1 insertions, 24 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index c5bb4d4c00de..398e412ac37e 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -7,6 +7,7 @@ PORTNAME= powerdns PORTVERSION= 2.9.8 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ DISTNAME= pdns-${PORTVERSION} diff --git a/dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc b/dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc deleted file mode 100644 index bdee751a913b..000000000000 --- a/dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc +++ /dev/null @@ -1,24 +0,0 @@ ---- modules/gmysqlbackend/gmysqlbackend.cc.orig Thu Feb 27 13:49:37 2003 -+++ modules/gmysqlbackend/gmysqlbackend.cc Sun May 11 08:49:16 2003 -@@ -20,14 +20,14 @@ - - gMySQLBackend::gMySQLBackend(const string &mode, const string &suffix) : GSQLBackend(mode,suffix) - { -+ const string dbname = getArg ("dbname"); -+ const string host = getArg ("host"); -+ const string socket = getArg ("socket"); -+ const string user = getArg ("user"); -+ const string passwd = getArg ("password"); -+ - try { -- setDB(new SMySQL(getArg("dbname"), -- getArg("host"), -- getArg("port"), -- getArg("socket"), -- getArg("user"), -- getArg("password"))); -- -+ setDB(new SMySQL(dbname, host, socket, user, passwd)); - } - - catch(SSqlException &e) { |