Fix for gcc44
This commit is contained in:
parent
dcd72598d3
commit
5ec9a55e10
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
Name: %{real_name}
|
Name: %{real_name}
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Viewers programs for OpenEXR
|
Summary: Viewers programs for OpenEXR
|
||||||
|
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -20,6 +20,7 @@ License: AMPAS BSD
|
|||||||
URL: http://www.openexr.com
|
URL: http://www.openexr.com
|
||||||
Source0: http://download.savannah.nongnu.org/releases/openexr/openexr_viewers-%{version}.tar.gz
|
Source0: http://download.savannah.nongnu.org/releases/openexr/openexr_viewers-%{version}.tar.gz
|
||||||
Patch0: openexr_viewers-1.0.1-gcc43.patch
|
Patch0: openexr_viewers-1.0.1-gcc43.patch
|
||||||
|
Patch1: openexr_viewers-1.0.1-gcc44.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: OpenEXR_CTL-devel
|
BuildRequires: OpenEXR_CTL-devel
|
||||||
@ -66,6 +67,7 @@ This package contains documentation files for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n openexr_viewers-%{version}
|
%setup -q -n openexr_viewers-%{version}
|
||||||
%patch0 -p1 -b .gcc43
|
%patch0 -p1 -b .gcc43
|
||||||
|
%patch1 -p1 -b .gcc44
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -124,6 +126,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 12 2009 kwizart < kwizart at gmail.com > - 1.0.1-4
|
||||||
|
- Rebuild for gcc44
|
||||||
|
|
||||||
* Fri Oct 17 2008 kwizart < kwizart at gmail.com > - 1.0.1-3
|
* Fri Oct 17 2008 kwizart < kwizart at gmail.com > - 1.0.1-3
|
||||||
- Rebuild for F-10
|
- Rebuild for F-10
|
||||||
|
|
||||||
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
OpenEXR_Viewers-1_0_1-4_fc10:HEAD:OpenEXR_Viewers-1.0.1-4.fc10.src.rpm:1234478562
|
19
openexr_viewers-1.0.1-gcc44.patch
Normal file
19
openexr_viewers-1.0.1-gcc44.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff -up openexr_viewers-1.0.1/exrdisplay/applyCtl.cpp.gcc44 openexr_viewers-1.0.1/exrdisplay/applyCtl.cpp
|
||||||
|
--- openexr_viewers-1.0.1/exrdisplay/applyCtl.cpp.gcc44 2009-02-12 23:35:22.000000000 +0100
|
||||||
|
+++ openexr_viewers-1.0.1/exrdisplay/applyCtl.cpp 2009-02-12 23:35:27.000000000 +0100
|
||||||
|
@@ -48,6 +48,7 @@
|
||||||
|
#include <ImfHeader.h>
|
||||||
|
#include <ImfFrameBuffer.h>
|
||||||
|
#include <cassert>
|
||||||
|
+ #include <cstdio>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
@@ -60,6 +61,7 @@
|
||||||
|
#include <ImfStandardAttributes.h>
|
||||||
|
#include <ImfHeader.h>
|
||||||
|
#include <cassert>
|
||||||
|
+ #include <cstdio>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using namespace std;
|
Loading…
Reference in New Issue
Block a user