From fe018b028ffedc7d2b0c0f656cdc398ffec1bbcb Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Feb 27 2009 13:46:26 +0000 Subject: fix build failure with gcc 4.4 --- diff --git a/libwvstreams.spec b/libwvstreams.spec index a8e57df..a694ce4 100644 --- a/libwvstreams.spec +++ b/libwvstreams.spec @@ -1,10 +1,11 @@ Name: libwvstreams Version: 4.5.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: WvStreams is a network programming library written in C++ Source: http://wvstreams.googlecode.com/files/wvstreams-%{version}.tar.gz Patch1: wvstreams-4.2.2-multilib.patch Patch2: wvstreams-4.5-noxplctarget.patch +Patch3: wvstreams-4.5.1-gcc44.patch URL: http://alumnit.ca/wiki/index.php?page=WvStreams Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -29,6 +30,7 @@ needed for developing applications which use WvStreams. %setup -q -n wvstreams-%{version} %patch1 -p1 -b .multilib %patch2 -p1 -b .xplctarget +%patch3 -p1 -b .gcc44 %build # --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) @@ -80,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %changelog +* Fri Feb 27 2009 Ondrej Vasik - 4.5.1-5 +- fix rebuild failure with gcc 4.4 + * Wed Feb 25 2009 Fedora Release Engineering - 4.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/wvstreams-4.5.1-gcc44.patch b/wvstreams-4.5.1-gcc44.patch new file mode 100644 index 0000000..69ab406 --- /dev/null +++ b/wvstreams-4.5.1-gcc44.patch @@ -0,0 +1,11 @@ +diff -urNp wvstreams-4.5.1-orig/include/wvdigest.h wvstreams-4.5.1/include/wvdigest.h +--- wvstreams-4.5.1-orig/include/wvdigest.h 2008-12-24 00:11:19.000000000 +0100 ++++ wvstreams-4.5.1/include/wvdigest.h 2009-02-27 14:30:23.000000000 +0100 +@@ -8,6 +8,7 @@ + #define __WVDIGEST_H + + #include "wvencoder.h" ++#include + + struct env_md_st; + struct env_md_ctx_st;