Hello community, here is the log from the commit of package ht for openSUSE:Factory checked in at 2017-06-12 15:31:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ht (Old) and /work/SRC/openSUSE:Factory/.ht.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ht" Mon Jun 12 15:31:55 2017 rev:17 rq:501699 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ht/ht.changes 2015-02-12 10:22:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ht.new/ht.changes 2017-06-12 15:31:59.272116840 +0200 @@ -1,0 +2,5 @@ +Wed Jun 7 11:52:27 UTC 2017 - jeng...@inai.de + +- Add ht-gcc7.diff + +------------------------------------------------------------------- New: ---- ht-gcc7.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ht.spec ++++++ --- /var/tmp/diff_new_pack.uZ616Y/_old 2017-06-12 15:32:00.155992181 +0200 +++ /var/tmp/diff_new_pack.uZ616Y/_new 2017-06-12 15:32:00.159991617 +0200 @@ -1,7 +1,7 @@ # # spec file for package ht # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ #Git-Clone: https://github.com/sebastianbiallas/ht Source: http://downloads.sf.net/hte/%name-%version.tar.bz2 Patch1: ht-no-date.diff +Patch2: ht-gcc7.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison BuildRequires: flex @@ -54,15 +55,15 @@ %prep %setup -q -%patch -P 1 -p1 +%patch -P 1 -P 2 -p1 %build %configure --enable-release -make %{?_smp_mflags}; +make %{?_smp_mflags} %install -b="%buildroot"; -make install DESTDIR="$b"; +b="%buildroot" +make install DESTDIR="$b" pushd "$b/%_bindir/" mv ht hte ln -s hte ht ++++++ ht-gcc7.diff ++++++ From: Jan Engelhardt <jeng...@inai.de> Date: 2017-06-07 13:48:49.472854532 +0200 [ 53s] htapp.cc:3026:18: error: call of overloaded 'abs(uint)' is ambiguous [ 53s] /usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int) [ 53s] /usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int) [ 53s] /usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double) [ 53s] /usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float) [ 53s] /usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double) [...] --- htapp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: ht-2.1.0/htapp.cc =================================================================== --- ht-2.1.0.orig/htapp.cc +++ ht-2.1.0/htapp.cc @@ -3023,7 +3023,7 @@ static uint isqr(uint u) { uint a = 2; uint b = u/a; - while (abs(a - b) > 1) { + while (abs(static_cast<long>(a - b)) > 1) { a = (a+b)/2; b = u/a; }