Hello community, here is the log from the commit of package libcamgm for openSUSE:Factory checked in at 2017-04-17 10:21:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcamgm (Old) and /work/SRC/openSUSE:Factory/.libcamgm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libcamgm" Mon Apr 17 10:21:32 2017 rev:22 rq:485043 version:1.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/libcamgm/libcamgm.changes 2017-02-08 11:01:32.310913196 +0100 +++ /work/SRC/openSUSE:Factory/.libcamgm.new/libcamgm.changes 2017-04-17 10:21:39.513749277 +0200 @@ -1,0 +2,6 @@ +Tue Apr 4 04:20:35 UTC 2017 - crrodriguez@opensuse.org + +- libcamgm-gcc7.patch: fix build with GCC7 + + +------------------------------------------------------------------- New: ---- libcamgm-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcamgm.spec ++++++ --- /var/tmp/diff_new_pack.0FZPFB/_old 2017-04-17 10:21:40.329633729 +0200 +++ /var/tmp/diff_new_pack.0FZPFB/_new 2017-04-17 10:21:40.333633163 +0200 @@ -54,6 +54,7 @@ BuildRequires: perl-ExtUtils-Embed Requires: openssl-perl %endif +Patch0: libcamgm-gcc7.patch %description The CA Management Library provides methods for managing a certificate authority. @@ -116,6 +117,7 @@ %prep %setup -q +%patch0 -p1 translation-update-upstream %build ++++++ libcamgm-gcc7.patch ++++++ Index: libcamgm-1.0.8/src/Exception.cpp =================================================================== --- libcamgm-1.0.8.orig/src/Exception.cpp +++ libcamgm-1.0.8/src/Exception.cpp @@ -104,11 +104,11 @@ Exception::getFullMessage() const try { return str::form("%s: %s %s: %s%s", - (getFile() == '\0')?"[no file]":getFile(), + (getFile() == NULL)?"[no file]":getFile(), (getLine() == 0)?"[no line]":str::numstring(getLine()).c_str(), type(), (getErrorCode() != 0)?(str::numstring(getErrorCode())+": ").c_str():" ", - (getMessage() == '\0')?"[no message]":getMessage() + (getMessage() == NULL)?"[no message]":getMessage() ); } catch (...)