From: Jan Rękorajski Date: Sat, 21 Nov 2015 22:29:07 +0000 (+0100) Subject: - fix building with boost 1.59 X-Git-Tag: auto/th/clcc-0.3.0-4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fclcc.git;a=commitdiff_plain;h=67b4c8c - fix building with boost 1.59 - rel 4 --- 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) 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