[arch-commits] Commit in pdns/trunk (PKGBUILD pdns-2.9.22-gcc44.patch)

Douglas Soares de Andrade douglas at archlinux.org
Thu Aug 6 10:37:21 UTC 2009


    Date: Thursday, August 6, 2009 @ 06:37:20
  Author: douglas
Revision: 49348

upgpkg: pdns 2.9.22-3
    Fixed the build with gcc4.4 and Postgresql Rebuild

Added:
  pdns/trunk/pdns-2.9.22-gcc44.patch
Modified:
  pdns/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |    7 ++++---
 pdns-2.9.22-gcc44.patch |   22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-06 10:22:15 UTC (rev 49347)
+++ PKGBUILD	2009-08-06 10:37:20 UTC (rev 49348)
@@ -3,7 +3,7 @@
 
 pkgname=pdns
 pkgver=2.9.22
-pkgrel=2
+pkgrel=3
 pkgdesc="A modern, advanced and high performance authoritative-only nameserver"
 arch=(i686 x86_64)
 url="http://www.powerdns.com"
@@ -18,12 +18,14 @@
 backup=('etc/powerdns/pdns.conf')
 source=(http://downloads.powerdns.com/releases/${pkgname}-${pkgver}.tar.gz
 	    2.9.18-default-mysql-options.patch
+        pdns-2.9.22-gcc44.patch
         pdns.rc
         pdns.conf)
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   patch -Np1 -i ${srcdir}/2.9.18-default-mysql-options.patch || return 1
+  patch -Np1 -i ${srcdir}/pdns-2.9.22-gcc44.patch || return 1
   touch AUTHORS NEWS
   libtoolize --force --copy || return 1
   aclocal || return 1
@@ -48,7 +50,6 @@
 }
 md5sums=('8a6ff842733aca885577eb54e983a1ff'
          '90fb32e843326d14359c508cef855929'
-         '2cc96f8436323eca57fb95a63ea39efd'
-         'abbe18f5cbf3d927b235a1bb217451d8'
+         '530642273005bdabae27792098834ea6'
          '16e2d32e9781be7afa8f1700740bcdb0'
          'a390ab49c4fcde205629be33bddc2e6c')

Added: pdns-2.9.22-gcc44.patch
===================================================================
--- pdns-2.9.22-gcc44.patch	                        (rev 0)
+++ pdns-2.9.22-gcc44.patch	2009-08-06 10:37:20 UTC (rev 49348)
@@ -0,0 +1,22 @@
+diff -ur pdns-2.9.22.orig/pdns/dnsparser.cc pdns-2.9.22/pdns/dnsparser.cc
+--- pdns-2.9.22.orig/pdns/dnsparser.cc	2008-11-15 22:32:46.000000000 +0200
++++ pdns-2.9.22/pdns/dnsparser.cc	2009-07-06 22:09:02.000000000 +0300
+@@ -16,6 +16,7 @@
+     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+ 
++#include <stdio.h>
+ #include "dnsparser.hh"
+ #include "dnswriter.hh"
+ #include <boost/lexical_cast.hpp>
+diff -ur pdns-2.9.22.orig/pdns/rcpgenerator.cc pdns-2.9.22/pdns/rcpgenerator.cc
+--- pdns-2.9.22.orig/pdns/rcpgenerator.cc	2008-11-15 23:20:27.000000000 +0200
++++ pdns-2.9.22/pdns/rcpgenerator.cc	2009-07-06 22:07:26.000000000 +0300
+@@ -16,6 +16,7 @@
+     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+ 
++#include <stdio.h>
+ #include "rcpgenerator.hh"
+ #include "dnsparser.hh"
+ #include "misc.hh"




More information about the arch-commits mailing list