Hello community, here is the log from the commit of package kicad for openSUSE:Factory checked in at 2016-08-29 15:46:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kicad (Old) and /work/SRC/openSUSE:Factory/.kicad.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kicad" Changes: -------- --- /work/SRC/openSUSE:Factory/kicad/kicad.changes 2016-07-12 23:52:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kicad.new/kicad.changes 2016-08-29 15:49:01.000000000 +0200 @@ -1,0 +2,16 @@ +Sat Aug 27 17:17:53 UTC 2016 - [email protected] + +- Pull some coroutine changes from kicad master, to fix build + with boost 1.61 (boo#994383). Use on Leap and TW. + * Add kicad-boost-1_61-boost-context-changes.patch +- Set C++ version to C++11, required by boost patch + * Add kicad-set-cxx-version.patch + +------------------------------------------------------------------- +Mon Aug 8 17:20:58 UTC 2016 - [email protected] + +- Update to version 4.0.3 + * Bugfix release + * Drop obsolete kicad-swig-3.0.10.patch + +------------------------------------------------------------------- Old: ---- kicad-4.0.2.tar.xz kicad-swig-3.0.10.patch New: ---- kicad-4.0.3.tar.xz kicad-boost-1_61-boost-context-changes.patch kicad-set-cxx-version.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kicad.spec ++++++ --- /var/tmp/diff_new_pack.7KJ3q1/_old 2016-08-29 15:49:06.000000000 +0200 +++ /var/tmp/diff_new_pack.7KJ3q1/_new 2016-08-29 15:49:06.000000000 +0200 @@ -17,7 +17,7 @@ Name: kicad -Version: 4.0.2 +Version: 4.0.3 Release: 0 Summary: EDA software suite for the creation of schematics and PCB License: GPL-2.0+ and GPL-3.0+ @@ -34,8 +34,12 @@ # kicad looks in /usr/share/doc/kicad for help files and doesn't find them. # this patch adds packges/ befor kicad. Patch3: kicad-suse-help-path.patch -# PATCH-FIX-UPSTREAM kicad-swig-3.0.10.patch -- Fix broken swig import script when using swig >= 3.0.10 -Patch4: kicad-swig-3.0.10.patch +%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 +# PATCH-FIX-UPSTREAM kicad-boost-1_61-boost-context-changes.patch -- Fix build with boost 1.61 +Patch4: kicad-boost-1_61-boost-context-changes.patch +# PATCH-OPENSUSE kicad-set-cxx-standard.diff -- use C++14 by default and decay to 11, required by boost 1.61 patch +Patch5: kicad-set-cxx-version.patch +%endif %if 0%{?suse_version} > 1320 BuildRequires: boost-devel >= 1.56 %else @@ -97,7 +101,11 @@ %patch1 -p1 %patch2 -p1 %patch3 +# patch requires C++11, CMAKE_CXX_STANDARD requires cmake 3.1 -> Leap 42.1 or TW +%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 %patch4 -p1 +%patch5 -p1 +%endif cp %{SOURCE2} . ++++++ kicad-4.0.2.tar.xz -> kicad-4.0.3.tar.xz ++++++ /work/SRC/openSUSE:Factory/kicad/kicad-4.0.2.tar.xz /work/SRC/openSUSE:Factory/.kicad.new/kicad-4.0.3.tar.xz differ: char 26, line 1 ++++++ kicad-boost-1_61-boost-context-changes.patch ++++++ ++++ 878 lines (skipped) ++++++ kicad-set-cxx-version.patch ++++++ --- kicad-4.0.2/CMakeLists.txt_orig 2016-08-27 21:24:50.616212416 +0200 +++ kicad-4.0.2/CMakeLists.txt 2016-08-27 21:24:30.103970797 +0200 @@ -143,6 +143,8 @@ set( CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}" ) set( CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}" ) + set( CMAKE_CXX_STANDARD 14 ) + # The optimization level is -O1 instead of the usual -O2 level because # boost::polygon has a function (inflate polygon) broken by the -O2 level # with GCC 4.7.0 to 4.7.2 (works fine with with GCC 4.6 and 4.7.3).
