rpms/pdns/devel pdns-gcc44.patch,NONE,1.1 pdns.spec,1.18,1.19
Ruben Kerkhof
ruben at fedoraproject.org
Thu Feb 26 16:38:13 UTC 2009
Author: ruben
Update of /cvs/pkgs/rpms/pdns/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15796
Modified Files:
pdns.spec
Added Files:
pdns-gcc44.patch
Log Message:
* Thu Feb 26 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> - 2.9.22-5
- Fix build with gcc4.4
pdns-gcc44.patch:
--- NEW FILE pdns-gcc44.patch ---
diff -up pdns-2.9.22/pdns/misc.hh.orig pdns-2.9.22/pdns/misc.hh
--- pdns-2.9.22/pdns/misc.hh.orig 2009-02-26 17:09:41.000000000 +0100
+++ pdns-2.9.22/pdns/misc.hh 2009-02-26 17:09:54.000000000 +0100
@@ -20,6 +20,7 @@
#define MISC_HH
#include <stdint.h>
#include <cstring>
+#include <cstdio>
#if 0
#include <iostream>
Index: pdns.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pdns/devel/pdns.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- pdns.spec 26 Feb 2009 10:25:41 -0000 1.18
+++ pdns.spec 26 Feb 2009 16:37:43 -0000 1.19
@@ -1,7 +1,7 @@
Summary: A modern, advanced and high performance authoritative-only nameserver
Name: pdns
Version: 2.9.22
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: System Environment/Daemons
License: GPLv2
@@ -9,6 +9,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
Patch0: %{name}-fixinit.patch
+Patch1: %{name}-gcc44.patch
Requires(post): %{_sbindir}/useradd, /sbin/chkconfig
Requires(preun): /sbin/service, /sbin/chkconfig
@@ -80,6 +81,7 @@
%prep
%setup -q
%patch0 -p1 -b .fixinit
+%patch1 -p1 -b .gcc44
%build
export CPPFLAGS="-DLDAP_DEPRECATED %{optflags}"
@@ -179,6 +181,9 @@
%changelog
+* Thu Feb 26 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> - 2.9.22-5
+- Fix build with gcc4.4
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.22-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list