SHA256
1
0
forked from pool/libopenraw
OBS User unknown 2009-02-26 11:56:28 +00:00 committed by Git OBS Bridge
parent 60714c2473
commit 4beaf19ac8
3 changed files with 35 additions and 1 deletions

25
libopenraw-gcc44.patch Normal file
View File

@ -0,0 +1,25 @@
Index: demo/thumb.cpp
===================================================================
--- demo/thumb.cpp.orig
+++ demo/thumb.cpp
@@ -19,7 +19,7 @@
*/
-
+#include <cstdio>
#include <iostream>
#include <libopenraw/libopenraw.h>
#include <libopenraw/debug.h>
Index: demo/cfa.cpp
===================================================================
--- demo/cfa.cpp.orig
+++ demo/cfa.cpp
@@ -20,6 +20,7 @@
+#include <cstdio>
#include <iostream>
#include <libopenraw/libopenraw.h>
#include <libopenraw/debug.h>

View File

@ -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

View File

@ -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