[packages/clcc] - fix building with boost 1.59 - rel 4

baggins baggins at pld-linux.org
Sat Nov 21 23:29:22 CET 2015


commit 67b4c8c903cb76fdaa9eb81f03f9f8abf42b225f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 21 23:29:07 2015 +0100

    - fix building with boost 1.59
    - rel 4

 boost-1.59.patch | 11 +++++++++++
 clcc.spec        |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/clcc.spec b/clcc.spec
index 4be1925..d17cf58 100644
--- a/clcc.spec
+++ b/clcc.spec
@@ -2,7 +2,7 @@ Summary:	CLCC - The OpenCL kernel compiler
 Summary(pl.UTF-8):	CLCC - kompilator jąder OpenCL
 Name:		clcc
 Version:	0.3.0
-Release:	3
+Release:	4
 License:	Boost v1.0
 Group:		Development/Tools
 Source0:	http://downloads.sourceforge.net/clcc/%{name}-%{version}-25-src.zip
@@ -10,6 +10,7 @@ Source0:	http://downloads.sourceforge.net/clcc/%{name}-%{version}-25-src.zip
 Patch0:		%{name}-shared.patch
 Patch1:		%{name}-no-svn.patch
 Patch2:		%{name}-opencl.patch
+Patch3:		boost-1.59.patch
 URL:		http://clcc.sourceforge.net/
 BuildRequires:	boost-devel
 BuildRequires:	cmake >= 2.8
@@ -37,6 +38,7 @@ program.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 install -d build
diff --git a/boost-1.59.patch b/boost-1.59.patch
new file mode 100644
index 0000000..0155bba
--- /dev/null
+++ b/boost-1.59.patch
@@ -0,0 +1,11 @@
+--- clcc-0.3.0/src/CMakeLists.txt~	2015-11-21 23:23:37.000000000 +0100
++++ clcc-0.3.0/src/CMakeLists.txt	2015-11-21 23:28:23.721669338 +0100
+@@ -41,7 +41,7 @@
+ 
+ if (Boost_FOUND)
+     include_directories(${Boost_INCLUDE_DIRS})
+-    target_link_libraries(clcc ${Boost_LIBRARIES})
++    target_link_libraries(clcc ${Boost_LIBRARIES} -lboost_system)
+ endif()
+ 
+ source_group("Test Files" FILES test.cl test_error.cl test_multifile.cl)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clcc.git/commitdiff/67b4c8c903cb76fdaa9eb81f03f9f8abf42b225f



More information about the pld-cvs-commit mailing list