Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package prctl for openSUSE:Factory checked in at 2024-05-11 18:18:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/prctl (Old) and /work/SRC/openSUSE:Factory/.prctl.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "prctl" Sat May 11 18:18:51 2024 rev:23 rq:1172888 version:1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/prctl/prctl.changes 2024-02-23 16:40:28.916793929 +0100 +++ /work/SRC/openSUSE:Factory/.prctl.new.1880/prctl.changes 2024-05-11 18:19:00.749439240 +0200 @@ -1,0 +2,11 @@ +Thu May 9 07:41:50 UTC 2024 - pgaj...@suse.com + +- fix build with gcc14 +- use %autosetup macro +- modified patches + % prctl-1.5-warnings.patch (refreshed) +- added patches + work with gcc14 + + prctl-gcc14.patch + +------------------------------------------------------------------- New: ---- prctl-gcc14.patch BETA DEBUG BEGIN: New: work with gcc14 + prctl-gcc14.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ prctl.spec ++++++ --- /var/tmp/diff_new_pack.jINQlS/_old 2024-05-11 18:19:01.789477112 +0200 +++ /var/tmp/diff_new_pack.jINQlS/_new 2024-05-11 18:19:01.789477112 +0200 @@ -27,6 +27,8 @@ Source1: COPYING Patch0: prctl-1.5-Makefile.patch Patch1: prctl-1.5-warnings.patch +# work with gcc14 +Patch2: prctl-gcc14.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,10 +36,8 @@ the runtime environment. %prep -%setup -q +%autosetup -p1 cp %{SOURCE1} . -%patch -P 0 -p1 -b .makefile -%patch -P 1 -b .warnings %build %configure ++++++ prctl-1.5-warnings.patch ++++++ --- /var/tmp/diff_new_pack.jINQlS/_old 2024-05-11 18:19:01.837478860 +0200 +++ /var/tmp/diff_new_pack.jINQlS/_new 2024-05-11 18:19:01.841479006 +0200 @@ -1,7 +1,7 @@ Index: prctl.c =================================================================== ---- prctl.c.orig 2006-05-25 00:06:24.000000000 +0200 -+++ prctl.c 2010-11-19 10:03:03.821629772 +0100 +--- a/prctl.c 2006-05-25 00:06:24.000000000 +0200 ++++ b/prctl.c 2010-11-19 10:03:03.821629772 +0100 @@ -48,12 +48,12 @@ /* Verbose mode */ int verbose=0; ++++++ prctl-gcc14.patch ++++++ Index: prctl-1.6/configure =================================================================== --- prctl-1.6.orig/configure +++ prctl-1.6/configure @@ -673,7 +673,7 @@ cat > conftest.$ac_ext << EOF #line 674 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes Index: prctl-1.6/prctl.c =================================================================== --- prctl-1.6.orig/prctl.c +++ prctl-1.6/prctl.c @@ -26,7 +26,7 @@ #include <getopt.h> #include <errno.h> #include <pwd.h> -#include <linux/prctl.h> +#include <sys/prctl.h> #include <string.h> /* Version */