- added include patch (missing includes required with current glibc/g++)
- release 2
--- /dev/null
+--- ctl-1.4.1/IlmCtl/CtlLex.cpp.orig 2007-03-20 18:48:40.000000000 +0100
++++ ctl-1.4.1/IlmCtl/CtlLex.cpp 2013-03-28 18:59:30.520355166 +0100
+@@ -57,6 +57,7 @@
+ #include <CtlLContext.h>
+ #include <iomanip>
+ #include <cassert>
++#include <cstdlib>
+
+
+ #if 0
+--- ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h.orig 2006-11-30 02:46:44.000000000 +0100
++++ ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h 2013-03-28 19:05:40.243672986 +0100
+@@ -49,6 +49,7 @@
+ #ifndef INCLUDED_CTL_SIMD_REG_H
+ #define INCLUDED_CTL_SIMD_REG_H
+
++#include <cstring>
+ #include <typeinfo>
+ #include <CtlExc.h>
+ #include <Iex.h>
Summary(pl.UTF-8): Biblioteki CTL (języka przekształceń kolorów)
Name: ctl
Version: 1.4.1
-Release: 1
+Release: 2
License: BSD + IP clause
Group: Libraries
-Source0: http://dl.sourceforge.net/ampasctl/%{name}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/ampasctl/%{name}-%{version}.tar.gz
# Source0-md5: 11e215aea6c6380833ade3b576660638
-URL: http://www.oscars.org/council/ctl.html
+Patch0: %{name}-include.patch
+URL: http://www.oscars.org/science-technology/council/projects/ctl.html
BuildRequires: ilmbase-devel >= 1.0.1
BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
%prep
%setup -q
+%patch0 -p1
%build
%configure