Hello community, here is the log from the commit of package cadabra2 for openSUSE:Factory checked in at 2017-12-29 18:52:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cadabra2 (Old) and /work/SRC/openSUSE:Factory/.cadabra2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cadabra2" Fri Dec 29 18:52:36 2017 rev:5 rq:560499 version:2.1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/cadabra2/cadabra2.changes 2017-11-29 10:52:22.225280442 +0100 +++ /work/SRC/openSUSE:Factory/.cadabra2.new/cadabra2.changes 2017-12-29 18:52:53.106852967 +0100 @@ -1,0 +2,6 @@ +Fri Dec 29 08:33:37 UTC 2017 - [email protected] + +- fix build, add -pthread to CMAKE_CXX_FLAGS + added cadabra2-2.1.7.patch + +------------------------------------------------------------------- @@ -4 +10 @@ -- Update to version 2.1.6: +- Update to version 2.1.7: New: ---- cadabra2-2.1.7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cadabra2.spec ++++++ --- /var/tmp/diff_new_pack.7P1F8n/_old 2017-12-29 18:52:54.498453286 +0100 +++ /var/tmp/diff_new_pack.7P1F8n/_new 2017-12-29 18:52:54.506450990 +0100 @@ -26,6 +26,8 @@ Source0: https://github.com/kpeeters/cadabra2/archive/%{version}.tar.gz Source1: %{name}-rpmlintrc Source2: %{name}-gtk.appdata.xml +# PATCH-FIX-OPENSUSE add -pthread to CMAKE_CXX_FLAGS (as adivised in https://github.com/potree/PotreeConverter/issues/136) [email protected] +Patch1: cadabra2-2.1.7.patch BuildRequires: appstream-glib BuildRequires: cmake BuildRequires: doxygen @@ -161,6 +163,7 @@ %prep %setup -q +%patch1 -p1 %build mkdir build && pushd build ++++++ cadabra2-2.1.7.patch ++++++ diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-cadabra2-2.1.7/CMakeLists.txt ./CMakeLists.txt --- ../orig-cadabra2-2.1.7/CMakeLists.txt 2017-11-19 20:27:27.000000000 +0100 +++ ./CMakeLists.txt 2017-12-29 09:34:50.496366051 +0100 @@ -202,7 +202,7 @@ include(CPack) if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2 -pthread") endif() if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
