Hello community, here is the log from the commit of package normaliz for openSUSE:Factory checked in at 2018-01-01 22:36:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/normaliz (Old) and /work/SRC/openSUSE:Factory/.normaliz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "normaliz" Mon Jan 1 22:36:45 2018 rev:3 rq:561006 version:3.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/normaliz/normaliz.changes 2017-11-23 09:43:51.573728377 +0100 +++ /work/SRC/openSUSE:Factory/.normaliz.new/normaliz.changes 2018-01-01 22:38:24.932192519 +0100 @@ -1,0 +2,10 @@ +Mon Dec 25 13:13:38 UTC 2017 - [email protected] + +- Update to new upstream release 3.5.0 + * Euclidean volume of polytopes + * Expansion of series + * Projection of cones and polyhedra + * LLL reduced coordinates for project-and-lift +- Add 0001-Fix-compiler-warnings-in-matrix.cpp.patch + +------------------------------------------------------------------- Old: ---- normaliz-3.4.1.tar.gz New: ---- 0001-Fix-compiler-warnings-in-matrix.cpp.patch normaliz-3.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ normaliz.spec ++++++ --- /var/tmp/diff_new_pack.XgP4OH/_old 2018-01-01 22:38:25.895870773 +0100 +++ /var/tmp/diff_new_pack.XgP4OH/_new 2018-01-01 22:38:25.907866767 +0100 @@ -17,7 +17,7 @@ Name: normaliz -Version: 3.4.1 +Version: 3.5.0 Release: 0 Summary: Tools for computations in affine monoids and rational cones License: GPL-3.0+ @@ -25,10 +25,13 @@ Url: https://www.normaliz.uni-osnabrueck.de/ Source: https://github.com/Normaliz/Normaliz/releases/download/v%version/%name-%version.tar.gz +Patch1: 0001-Fix-compiler-warnings-in-matrix.cpp.patch BuildRequires: boost-devel BuildRequires: cmake >= 2.6 +#maybe with flint-devel later on BuildRequires: gcc-c++ BuildRequires: gmp-devel +BuildRequires: mpfr-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -75,6 +78,7 @@ %prep %setup -q +%patch -P 1 -p1 %build pushd source/ ++++++ 0001-Fix-compiler-warnings-in-matrix.cpp.patch ++++++ >From c67e8c9246ba6e51fb9f35da4bec8e23a744f4f7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt <[email protected]> Date: Mon, 25 Dec 2017 14:21:54 +0100 Subject: [PATCH] Fix compiler warnings in matrix.cpp Add a return clause, because assert() may be replaced with nothing by the preprocessor under -DNDEBUG. matrix.cpp: In member function 'std::vector<Integer> libnormaliz::Matrix<Integer>::VxM_div(const std::vector<Integer>&, const Integer&, bool&) const [with Integer = double]': matrix.cpp:942:1: warning: no return statement in function returning non-void [-Wreturn-type] matrix.cpp:2262:1: warning: no return statement in function returning non-void [-Wreturn-type] matrix.cpp:2696:1: warning: no return statement in function returning non-void [-Wreturn-type] --- source/libnormaliz/matrix.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/libnormaliz/matrix.cpp b/source/libnormaliz/matrix.cpp index ebec2958..c551c4d2 100644 --- a/source/libnormaliz/matrix.cpp +++ b/source/libnormaliz/matrix.cpp @@ -939,6 +939,7 @@ vector<Integer> Matrix<Integer>::VxM_div(const vector<Integer>& v, const Integer template<> vector<nmz_float> Matrix<nmz_float>::VxM_div(const vector<nmz_float>& v, const nmz_float& divisor, bool& success) const{ assert(false); + return {}; } //--------------------------------------------------------------------------- @@ -2259,6 +2260,7 @@ template<> bool Matrix<nmz_float>::SmithNormalForm_inner(size_t& rk, Matrix<nmz_float>& Right){ assert(false); + return {}; } // Converts "this" into Smith normal form, returns column transformation matrix @@ -2693,6 +2695,7 @@ vector<mpz_class> Matrix<mpz_class>::optimal_subdivision_point() const{ template<> vector<nmz_float> Matrix<nmz_float>::optimal_subdivision_point_inner() const{ assert(false); + return {}; } /* -- 2.15.1 ++++++ normaliz-3.4.1.tar.gz -> normaliz-3.5.0.tar.gz ++++++ ++++ 94607 lines of diff (skipped)
