]> git.pld-linux.org Git - packages/ctl.git/commitdiff
- updated URLs
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 28 Mar 2013 18:16:51 +0000 (19:16 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 28 Mar 2013 18:16:51 +0000 (19:16 +0100)
- added include patch (missing includes required with current glibc/g++)
- release 2

ctl-include.patch [new file with mode: 0644]
ctl.spec

diff --git a/ctl-include.patch b/ctl-include.patch
new file mode 100644 (file)
index 0000000..5a558aa
--- /dev/null
@@ -0,0 +1,20 @@
+--- 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>
index 8f432d357ea26fea9a07280fa178b8948dac298a..edfc86a5955532d74bfd6d2d2110a47d7172f64e 100644 (file)
--- a/ctl.spec
+++ b/ctl.spec
@@ -2,12 +2,13 @@ Summary:      Color Transform Language libraries
 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
@@ -67,6 +68,7 @@ Statyczna biblioteka CTL.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
This page took 0.121102 seconds and 4 git commands to generate.