add stdio.h for fopen and friends
This commit is contained in:
parent
9ff9234ae3
commit
a927ea3f3b
22
libopenraw-0.0.5-includes.patch
Normal file
22
libopenraw-0.0.5-includes.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -ru libopenraw-0.0.5.orig/demo/cfa.cpp libopenraw-0.0.5/demo/cfa.cpp
|
||||
--- libopenraw-0.0.5.orig/demo/cfa.cpp 2009-02-28 14:02:03.000000000 +0000
|
||||
+++ libopenraw-0.0.5/demo/cfa.cpp 2009-02-28 14:03:02.000000000 +0000
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
|
||||
#include <iostream>
|
||||
+#include <stdio.h>
|
||||
#include <libopenraw/libopenraw.h>
|
||||
#include <libopenraw/debug.h>
|
||||
#include <libopenraw++/thumbnail.h>
|
||||
diff -ru libopenraw-0.0.5.orig/demo/thumb.cpp libopenraw-0.0.5/demo/thumb.cpp
|
||||
--- libopenraw-0.0.5.orig/demo/thumb.cpp 2009-02-28 14:02:03.000000000 +0000
|
||||
+++ libopenraw-0.0.5/demo/thumb.cpp 2009-02-28 14:02:51.000000000 +0000
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
|
||||
#include <iostream>
|
||||
+#include <stdio.h>
|
||||
#include <libopenraw/libopenraw.h>
|
||||
#include <libopenraw/debug.h>
|
||||
#include <libopenraw++/thumbnail.h>
|
||||
@ -1,12 +1,13 @@
|
||||
Name: libopenraw
|
||||
Version: 0.0.5
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Decode camera RAW files
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://%{name}.freedesktop.org/wiki
|
||||
Source0: http://%{name}.freedesktop.org/download/%{name}-%{version}.tar.gz
|
||||
Patch0: libopenraw-0.0.5-includes.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: boost-devel
|
||||
@ -59,6 +60,7 @@ developing applications that use %{name}-gnome.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .includes
|
||||
|
||||
|
||||
%build
|
||||
@ -111,6 +113,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 25 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.5-3
|
||||
- add stdio.h for fopen and friends
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user