- Fix build with gcc4.4
This commit is contained in:
parent
979f8bd6e8
commit
2fd8544ba4
11
pdns-gcc44.patch
Normal file
11
pdns-gcc44.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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>
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A modern, advanced and high performance authoritative-only nameserver
|
Summary: A modern, advanced and high performance authoritative-only nameserver
|
||||||
Name: pdns
|
Name: pdns
|
||||||
Version: 2.9.22
|
Version: 2.9.22
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -9,6 +9,7 @@ URL: http://powerdns.com
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
|
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
|
||||||
Patch0: %{name}-fixinit.patch
|
Patch0: %{name}-fixinit.patch
|
||||||
|
Patch1: %{name}-gcc44.patch
|
||||||
|
|
||||||
Requires(post): %{_sbindir}/useradd, /sbin/chkconfig
|
Requires(post): %{_sbindir}/useradd, /sbin/chkconfig
|
||||||
Requires(preun): /sbin/service, /sbin/chkconfig
|
Requires(preun): /sbin/service, /sbin/chkconfig
|
||||||
@ -80,6 +81,7 @@ This package contains the SQLite backend for %{name}
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .fixinit
|
%patch0 -p1 -b .fixinit
|
||||||
|
%patch1 -p1 -b .gcc44
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CPPFLAGS="-DLDAP_DEPRECATED %{optflags}"
|
export CPPFLAGS="-DLDAP_DEPRECATED %{optflags}"
|
||||||
@ -179,6 +181,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 2.9.22-5
|
||||||
|
- Fix build with gcc4.4
|
||||||
|
|
||||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.22-4
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.22-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user