From 5c86880bf6c5bbfe3aa4057b3d60fc5307ae4a1a Mon Sep 17 00:00:00 2001 From: Ralf Corsépius Date: Jan 19 2012 07:07:50 +0000 Subject: Add libdigidocpp-0.3.0-gcc47.patch (Fix mass rebuild FTBFS). --- diff --git a/libdigidocpp-0.3.0-gcc47.patch b/libdigidocpp-0.3.0-gcc47.patch new file mode 100644 index 0000000..9bbcae3 --- /dev/null +++ b/libdigidocpp-0.3.0-gcc47.patch @@ -0,0 +1,12 @@ +diff -Naur libdigidocpp-0.3.0.orig/src/XmlConf.cpp libdigidocpp-0.3.0/src/XmlConf.cpp +--- libdigidocpp-0.3.0.orig/src/XmlConf.cpp 2010-03-25 13:09:55.000000000 +0100 ++++ libdigidocpp-0.3.0/src/XmlConf.cpp 2012-01-19 05:49:52.744886310 +0100 +@@ -27,6 +27,8 @@ + #include + #include + ++#include ++ + #ifdef _WIN32 + #include + #include diff --git a/libdigidocpp.spec b/libdigidocpp.spec index da9eadd..03d28fc 100644 --- a/libdigidocpp.spec +++ b/libdigidocpp.spec @@ -11,13 +11,14 @@ Name: libdigidocpp Version: 0.3.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Library for creating and validating BDoc and DDoc containers Group: System Environment/Libraries License: LGPLv2+ URL: http://code.google.com/p/esteid/ Source0: http://esteid.googlecode.com/files/%{name}-%{version}.tar.bz2 +Patch0: libdigidocpp-0.3.0-gcc47.patch BuildRequires: cmake BuildRequires: libdigidoc-devel @@ -127,6 +128,7 @@ library. %prep %setup -q +%patch0 -p1 # Remove bundled copy of minizip rm -rf src/minizip/ @@ -183,6 +185,9 @@ make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} %changelog +* Thu Jan 19 2012 Ralf Corsépius - 0.3.0-11 +- Add libdigidocpp-0.3.0-gcc47.patch (Fix mass rebuild FTBFS). + * Fri Jan 13 2012 Fedora Release Engineering - 0.3.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild