From bef185cef70870204aa82e889521a53a6dd90058 Mon Sep 17 00:00:00 2001 From: Szymon Siwek Date: Mon, 26 Oct 2009 09:30:13 +0000 Subject: [PATCH] - added gcc4.patch Changed files: OpenEXR.spec -> 1.26 gcc4.patch -> 1.1 --- OpenEXR.spec | 2 ++ gcc4.patch | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 gcc4.patch diff --git a/OpenEXR.spec b/OpenEXR.spec index 71a38b1..4e6a8f7 100644 --- a/OpenEXR.spec +++ b/OpenEXR.spec @@ -7,6 +7,7 @@ License: BSD Group: Libraries Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz # Source0-md5: 11951f164f9c872b183df75e66de145a +Patch0: gcc4.patch URL: http://www.openexr.com/ BuildRequires: autoconf >= 2.50 BuildRequires: automake >= 1.6.3 @@ -76,6 +77,7 @@ Narzędzia do obrazów OpenEXR. %prep %setup -q -n openexr-%{version} +%patch0 -p1 %build %{__libtoolize} diff --git a/gcc4.patch b/gcc4.patch new file mode 100644 index 0000000..14d06c6 --- /dev/null +++ b/gcc4.patch @@ -0,0 +1,20 @@ +--- openexr-1.6.1/exrmaketiled/main.cpp.orig 2009-10-26 09:03:37.204979532 +0100 ++++ openexr-1.6.1/exrmaketiled/main.cpp 2009-10-26 09:04:06.202986564 +0100 +@@ -45,6 +45,7 @@ + #include + #include + #include ++#include + #include + + using namespace Imf; +--- openexr-1.6.1/exrenvmap/main.cpp.orig 2009-10-26 09:54:33.994893321 +0100 ++++ openexr-1.6.1/exrenvmap/main.cpp 2009-10-26 09:54:51.493690669 +0100 +@@ -43,6 +43,7 @@ + #include + #include + #include ++#include + #include + #include + -- 2.44.0