diff --git a/sffview-gcc43.diff b/sffview-gcc43.diff new file mode 100644 index 0000000..9d878e6 --- /dev/null +++ b/sffview-gcc43.diff @@ -0,0 +1,13 @@ +Index: sffview-0.4/sfffile.cpp +=================================================================== +--- sffview-0.4.orig/sfffile.cpp ++++ sffview-0.4/sfffile.cpp +@@ -33,6 +33,8 @@ + + #include + #include ++#include ++#include + + #include "sfftypes.h" + #include "common.h" diff --git a/sffview.changes b/sffview.changes index ac3beb8..0863603 100644 --- a/sffview.changes +++ b/sffview.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 11 14:37:11 CEST 2007 - kkeil@suse.de + +- fixes for GCC 4.3 + ------------------------------------------------------------------- Tue Mar 6 00:58:44 CET 2007 - kkeil@suse.de diff --git a/sffview.spec b/sffview.spec index 2433cb4..b7dd67e 100644 --- a/sffview.spec +++ b/sffview.spec @@ -14,14 +14,15 @@ Name: sffview BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files wxGTK-devel xorg-x11 License: X11/MIT Group: Hardware/ISDN -Autoreqprov: on +AutoReqProv: on Version: 0.4 -Release: 29 +Release: 109 Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications Source: %{name}-%{version}.tar.bz2 -URL: http://sfftools.sourceforge.net/ +Url: http://sfftools.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: %{name}-%{version}.diff +Patch1: %{name}-gcc43.diff %description The CAPI interface for programming ISDN hardware expects and gives you @@ -41,6 +42,7 @@ Authors: %prep %setup %patch -p1 +%patch1 -p1 %build make @@ -58,8 +60,9 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) /usr/bin/sffview %doc %{_defaultdocdir}/sffview - %changelog +* Thu Oct 11 2007 - kkeil@suse.de +- fixes for GCC 4.3 * Tue Mar 06 2007 - kkeil@suse.de - fix string type issue for gcc42 * Mon Oct 30 2006 - kkeil@suse.de