Hello community, here is the log from the commit of package libmemcached for openSUSE:Factory checked in at 2017-06-26 15:53:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmemcached (Old) and /work/SRC/openSUSE:Factory/.libmemcached.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmemcached" Mon Jun 26 15:53:00 2017 rev:26 rq:505860 version:1.0.18 Changes: -------- --- /work/SRC/openSUSE:Factory/libmemcached/libmemcached.changes 2016-05-17 17:15:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libmemcached.new/libmemcached.changes 2017-06-26 15:53:02.237112624 +0200 @@ -1,0 +2,6 @@ +Thu Jun 22 16:51:01 UTC 2017 - antoine.belv...@opensuse.org + +- Add libmemcached-1.0.18-fix-build-gcc7.patch: Fix build with GCC + 7, picked from Fedora (boo#1041295). + +------------------------------------------------------------------- New: ---- libmemcached-1.0.18-fix-build-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmemcached.spec ++++++ --- /var/tmp/diff_new_pack.ye1E9B/_old 2017-06-26 15:53:08.620212539 +0200 +++ /var/tmp/diff_new_pack.ye1E9B/_new 2017-06-26 15:53:08.624211975 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmemcached # -# 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 @@ -32,6 +32,8 @@ Patch1: libmemcached-automake1_14.diff # PATCH-FIX-UPSTREAM libmemcached-no-docs-available.patch dims...@opensuse.org -- Do not build docs if not VCS checkout Patch2: libmemcached-no-docs-available.patch +# PATCH-FIX-UPSTREAM libmemcached-1.0.18-fix-build-gcc7.patch -- Fix build with GCC 7 +Patch3: libmemcached-1.0.18-fix-build-gcc7.patch # List of additional build dependencies BuildRequires: automake >= 1.13 BuildRequires: bison @@ -91,6 +93,7 @@ %setup -q %patch -P 0 -P 1 -p1 %patch2 -p1 +%patch3 -p1 %build autoreconf -fiv ++++++ libmemcached-1.0.18-fix-build-gcc7.patch ++++++ diff -up ./clients/memflush.cc.old ./clients/memflush.cc --- ./clients/memflush.cc.old 2017-02-12 10:12:59.615209225 +0100 +++ ./clients/memflush.cc 2017-02-12 10:13:39.998382783 +0100 @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) { options_parse(argc, argv); - if (opt_servers == false) + if (!opt_servers) { char *temp; @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) opt_servers= strdup(temp); } - if (opt_servers == false) + if (!opt_servers) { std::cerr << "No Servers provided" << std::endl; exit(EXIT_FAILURE);