[packages/ctl] - updated URLs - added include patch (missing includes required with current glibc/g++) - release 2

qboosh qboosh at pld-linux.org
Thu Mar 28 19:16:42 CET 2013


commit 42dd346733ac746730cc3dfeca2ef4dc84c9893f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 28 19:16:51 2013 +0100

    - updated URLs
    - added include patch (missing includes required with current glibc/g++)
    - release 2

 ctl-include.patch | 20 ++++++++++++++++++++
 ctl.spec          |  8 +++++---
 2 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/ctl.spec b/ctl.spec
index 8f432d3..edfc86a 100644
--- 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
diff --git a/ctl-include.patch b/ctl-include.patch
new file mode 100644
index 0000000..5a558aa
--- /dev/null
+++ b/ctl-include.patch
@@ -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>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ctl.git/commitdiff/42dd346733ac746730cc3dfeca2ef4dc84c9893f



More information about the pld-cvs-commit mailing list