- fix building with boost 1.59 auto/th/clcc-0.3.0-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2015 22:29:07 +0000 (23:29 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2015 22:29:07 +0000 (23:29 +0100)
- rel 4

boost-1.59.patch [new file with mode: 0644]
clcc.spec

diff --git a/boost-1.59.patch b/boost-1.59.patch
new file mode 100644 (file)
index 0000000..0155bba
--- /dev/null
@@ -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 @@
\r
+ if (Boost_FOUND)\r
+     include_directories(${Boost_INCLUDE_DIRS})\r
+-    target_link_libraries(clcc ${Boost_LIBRARIES})\r
++    target_link_libraries(clcc ${Boost_LIBRARIES} -lboost_system)\r
+ endif()\r
\r
+ source_group("Test Files" FILES test.cl test_error.cl test_multifile.cl)\r
index 4be1925..d17cf58 100644 (file)
--- 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
This page took 0.1619 seconds and 4 git commands to generate.