Hello community, here is the log from the commit of package procmail for openSUSE:Factory checked in at 2019-07-29 17:24:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/procmail (Old) and /work/SRC/openSUSE:Factory/.procmail.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "procmail" Mon Jul 29 17:24:06 2019 rev:31 rq:714861 version:3.22 Changes: -------- --- /work/SRC/openSUSE:Factory/procmail/procmail.changes 2017-11-21 15:19:23.073455125 +0100 +++ /work/SRC/openSUSE:Factory/.procmail.new.4126/procmail.changes 2019-07-29 17:24:08.046352346 +0200 @@ -1,0 +2,6 @@ +Fri Jul 12 11:40:29 UTC 2019 - Martin Liška <mli...@suse.cz> + +- Add procmail-fix-Werror=return-type.patch in order to fix + -Werror=return-type errors. + +------------------------------------------------------------------- New: ---- procmail-fix-Werror=return-type.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ procmail.spec ++++++ --- /var/tmp/diff_new_pack.POPeFQ/_old 2019-07-29 17:24:08.642352126 +0200 +++ /var/tmp/diff_new_pack.POPeFQ/_new 2019-07-29 17:24:08.642352126 +0200 @@ -1,7 +1,7 @@ # # spec file for package procmail # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,7 +20,7 @@ Version: 3.22 Release: 0 Summary: A program for local e-mail delivery -License: Artistic-1.0 or GPL-2.0+ +License: Artistic-1.0 OR GPL-2.0-or-later Group: Productivity/Networking/Email/Clients Url: http://www.procmail.org/ Source0: ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/procmail-%{version}.tar.gz @@ -38,6 +38,7 @@ Patch8: reproducible.patch # PATCH-FIX-SUSE Patch for Bug 1068648 aka CVE-2017-16844 Patch9: procmail-formisc.c.patch +Patch10: procmail-fix-Werror=return-type.patch BuildRequires: pcre-devel BuildRequires: postfix Requires: /bin/sed @@ -65,6 +66,7 @@ %patch7 -p0 %patch8 -p1 %patch9 -p1 +%patch10 -p1 sed -ri '\@^/\*@,\@\*/@{ s@^(/\*[^*]*)(/\*)@\1\*/ \2@; }' config.h sed -ri '\@^/\*@,\@\*/@{ s@^(/\*[^*]*)(/\*)@\1\*/ \2@; }' src/includes.h sed -ri '\@^#.*[[:blank:]]+/\*[^/]*$@M,\@\*/$@{ s@(^[[:blank:]]+)/\*@\1 @;}' src/includes.h ++++++ procmail-fix-Werror=return-type.patch ++++++ diff --git a/initmake b/initmake index 82d718d..43690fe 100755 --- a/initmake +++ b/initmake @@ -124,7 +124,7 @@ else fi cat >_autotst.c <<HERE -main() +int main() { return 0; } HERE @@ -200,8 +200,8 @@ cat >_autotst.c <<HERE #include <sys/types.h> #include <stdio.h> #include <sys/stat.h> -main() -{ struct stat buf;return!&buf; +int main() +{ struct stat buf;return!&buf; return 0; } HERE