Hello community, here is the log from the commit of package htdig for openSUSE:Factory checked in at 2017-05-27 13:06:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/htdig (Old) and /work/SRC/openSUSE:Factory/.htdig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "htdig" Sat May 27 13:06:33 2017 rev:23 rq:493636 version:3.2.0b6 Changes: -------- --- /work/SRC/openSUSE:Factory/htdig/htdig.changes 2016-06-03 16:36:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.htdig.new/htdig.changes 2017-05-27 13:08:12.533657541 +0200 @@ -1,0 +2,5 @@ +Tue Apr 4 16:38:08 UTC 2017 - crrodrig...@opensuse.org + +- htdig-gcc7.patch: FIx build failure with gcc7 + +------------------------------------------------------------------- New: ---- htdig-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ htdig.spec ++++++ --- /var/tmp/diff_new_pack.7feG3M/_old 2017-05-27 13:08:13.209561977 +0200 +++ /var/tmp/diff_new_pack.7feG3M/_new 2017-05-27 13:08:13.213561412 +0200 @@ -1,7 +1,7 @@ # # spec file for package htdig # -# Copyright (c) 2016 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 @@ -40,6 +40,7 @@ Patch15: %{name}-gmtime-lastday.patch # PATCH-FIX-UPSTREAM htdig-unsigned-char.patch dims...@opensuse.org -- use unsigned char to be sure we can store values up to (int)255 Patch16: %{name}-unsigned-char.patch +Patch17: htdig-gcc7.patch BuildRequires: apache2-devel BuildRequires: autoconf BuildRequires: automake @@ -112,7 +113,7 @@ %patch14 -p1 %patch15 %patch16 -p1 - +%patch17 -p1 %build %{?suse_update_config:%{suse_update_config -f db/dist}} pushd contrib 1>/dev/null ++++++ htdig-gcc7.patch ++++++ Index: htdig-3.2.0b6/htdig/Parsable.cc =================================================================== --- htdig-3.2.0b6.orig/htdig/Parsable.cc +++ htdig-3.2.0b6/htdig/Parsable.cc @@ -74,7 +74,7 @@ Parsable::addString(Retriever& retriever retriever.got_word(w, wordindex++, slot); // slot for img_alt w = HtWordToken(0); } - w = '\0'; + w = NULL; } //***************************************************************************** @@ -92,5 +92,5 @@ Parsable::addKeywordString(Retriever& re retriever.got_word(w, wordindex++, 9); w = HtWordToken(0); } - w = '\0'; + w = NULL; }