diff --git a/libopenraw-gcc44.patch b/libopenraw-gcc44.patch new file mode 100644 index 0000000..7b6ba05 --- /dev/null +++ b/libopenraw-gcc44.patch @@ -0,0 +1,25 @@ +Index: demo/thumb.cpp +=================================================================== +--- demo/thumb.cpp.orig ++++ demo/thumb.cpp +@@ -19,7 +19,7 @@ + */ + + +- ++#include + #include + #include + #include +Index: demo/cfa.cpp +=================================================================== +--- demo/cfa.cpp.orig ++++ demo/cfa.cpp +@@ -20,6 +20,7 @@ + + + ++#include + #include + #include + #include diff --git a/libopenraw.changes b/libopenraw.changes index bb809af..c6180fd 100644 --- a/libopenraw.changes +++ b/libopenraw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 25 20:43:10 CET 2009 - coolo@suse.de + +- update to compile against gcc 4.4 + ------------------------------------------------------------------- Mon Jan 5 22:17:30 CET 2009 - crrodriguez@suse.de diff --git a/libopenraw.spec b/libopenraw.spec index 5df45e6..27da024 100644 --- a/libopenraw.spec +++ b/libopenraw.spec @@ -22,10 +22,11 @@ Summary: A library to decode digtal camera RAW files Name: libopenraw Version: 0.0.5 -Release: 7 +Release: 8 License: LGPL v2.1 or later Group: Development/Libraries/C and C++ Source0: http://libopenraw.freedesktop.org/download/%name-%{version}.tar.bz2 +Patch0: libopenraw-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libopenraw1 = %{version}-%{release} BuildRequires: gcc-c++ @@ -78,6 +79,7 @@ Authors: %prep %setup -q +%patch0 %build #autoreconf -si @@ -109,6 +111,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Wed Feb 25 2009 coolo@suse.de +- update to compile against gcc 4.4 * Mon Jan 05 2009 crrodriguez@suse.de - exclude static libraries - fix -devel package dependencies