From 6c49f1e15bb9c49bdd6c8ad0fe7c42b5bf7a97a2 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Jan 08 2008 18:34:23 +0000 Subject: - Fix gcc43 --- diff --git a/CTL.spec b/CTL.spec index abd42dc..f0810f6 100644 --- a/CTL.spec +++ b/CTL.spec @@ -1,13 +1,13 @@ Name: CTL Version: 1.4.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: The Color Transformation Language Group: System Environment/Libraries License: AMPAS BSD URL: http://ampasctl.sourceforge.net/ Source0: http://downloads.sourceforge.net/ampasctl/ctl-%{version}.tar.gz -#Patch0: ctl-1.4.1-disable_rpath.patch +Patch0: ctl-1.4.1-gcc43.patch Patch1: ctl-1.4.1-fix_pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -42,7 +42,7 @@ This package contains documentation files for %{name}. %prep %setup -q -n ctl-%{version} -#patch0 -p1 -b .rpath +%patch0 -p1 -b .gcc43 %patch1 -p1 -b .fix_pkg-config # Was needed to disable rpath from configure -> patch0 @@ -96,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT %doc doc/CtlManual.pdf doc/CtlManual.doc %changelog +* Tue Jan 8 2008 kwizart < kwizart at gmail.com > - 1.4.1-4 +- Fix gcc43 + * Fri Nov 9 2007 kwizart < kwizart at gmail.com > - 1.4.1-3 - Change package name from ctl to CTL diff --git a/ctl-1.4.1-gcc43.patch b/ctl-1.4.1-gcc43.patch new file mode 100644 index 0000000..37acb41 --- /dev/null +++ b/ctl-1.4.1-gcc43.patch @@ -0,0 +1,22 @@ +diff -up ctl-1.4.1/IlmCtl/CtlLex.cpp.gcc43 ctl-1.4.1/IlmCtl/CtlLex.cpp +--- ctl-1.4.1/IlmCtl/CtlLex.cpp.gcc43 2008-01-08 19:18:01.000000000 +0100 ++++ ctl-1.4.1/IlmCtl/CtlLex.cpp 2008-01-08 19:18:22.000000000 +0100 +@@ -57,6 +57,7 @@ + #include + #include + #include ++#include + + + #if 0 +diff -up ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h.gcc43 ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h +--- ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h.gcc43 2008-01-08 19:27:17.000000000 +0100 ++++ ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h 2008-01-08 19:28:31.000000000 +0100 +@@ -50,6 +50,7 @@ + #define INCLUDED_CTL_SIMD_REG_H + + #include ++#include + #include + #include +