diff --git a/libvpd-2.1.3-gcc47.patch b/libvpd-2.1.3-gcc47.patch new file mode 100644 index 0000000..e04e56f --- /dev/null +++ b/libvpd-2.1.3-gcc47.patch @@ -0,0 +1,11 @@ +diff -up libvpd-2.1.3/src/helper_functions.cpp.gcc47 libvpd-2.1.3/src/helper_functions.cpp +--- libvpd-2.1.3/src/helper_functions.cpp.gcc47 2012-01-18 10:50:11.367639050 +0100 ++++ libvpd-2.1.3/src/helper_functions.cpp 2012-01-18 10:52:22.453423299 +0100 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/libvpd.spec b/libvpd.spec index 2b6895a..b423b71 100644 --- a/libvpd.spec +++ b/libvpd.spec @@ -3,13 +3,16 @@ Name: %{name} Version: %{version} -Release: 3%{?dist} +Release: 4%{?dist} Summary: VPD Database access library for lsvpd Group: System Environment/Libraries License: LGPLv2+ URL: http://linux-diag.sf.net/Lsvpd.html Source: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz + +Patch1: libvpd-2.1.3-gcc47.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: sqlite-devel zlib-devel libstdc++-devel libtool @@ -30,6 +33,8 @@ Contains header files for building with libvpd. %prep %setup -q +%patch1 -p1 -b .gcc47 + %build ./bootstrap.sh %configure --disable-static @@ -63,6 +68,9 @@ Contains header files for building with libvpd. %{_libdir}/pkgconfig/libvpd_cxx-2.pc %changelog +* Wed Jan 18 2012 Jiri Skala 2.1.3-4 +- fix for gcc-4.7 + * Fri Jan 13 2012 Fedora Release Engineering - 2.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild