Hello community, here is the log from the commit of package procinfo for openSUSE:Factory checked in at 2020-08-12 10:21:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/procinfo (Old) and /work/SRC/openSUSE:Factory/.procinfo.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "procinfo" Wed Aug 12 10:21:05 2020 rev:32 rq:824821 version:18 Changes: -------- --- /work/SRC/openSUSE:Factory/procinfo/procinfo.changes 2019-05-12 11:31:57.997618382 +0200 +++ /work/SRC/openSUSE:Factory/.procinfo.new.3399/procinfo.changes 2020-08-12 10:23:30.443763079 +0200 @@ -1,0 +2,6 @@ +Fri Aug 7 08:36:29 UTC 2020 - Dr. Werner Fink <[email protected]> + +- Add patch procinfo-strsignal.dif to use strsignal(3) as replacement + of (_)sys_siglist[] + +------------------------------------------------------------------- New: ---- procinfo-strsignal.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ procinfo.spec ++++++ --- /var/tmp/diff_new_pack.q5dIaL/_old 2020-08-12 10:23:34.387765021 +0200 +++ /var/tmp/diff_new_pack.q5dIaL/_new 2020-08-12 10:23:34.391765022 +0200 @@ -1,7 +1,7 @@ # # spec file for package procinfo # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Summary: Tool to Display System Status Gathered from /proc License: GPL-2.0-or-later Group: System/Monitoring -Url: ftp://ftp.cistron.nl/pub/people/00-OLD/svm/ +URL: ftp://ftp.cistron.nl/pub/people/00-OLD/svm/ Source: ftp://ftp.cistron.nl/pub/people/svm/%{name}-%{version}.tar.bz2 Patch0: procinfo-%{version}.dif Patch1: procinfo-uptime.dif @@ -46,6 +46,7 @@ Patch19: procinfo-maxdev.dif Patch20: procinfo-sysconf.dif Patch21: procinfo-ranges.dif +Patch22: procinfo-strsignal.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ncurses-devel Provides: ps:/usr/bin/lsdev @@ -80,9 +81,10 @@ %patch19 %patch20 %patch21 +%patch22 %build -CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 %{optflags} -pipe" +CFLAGS="-D_GNU_SOURCE $(getconf LFS_CFLAGS) %{optflags} -pipe" export CFLAGS make LDFLAGS= CC="%__cc" %{?_smp_mflags} ++++++ procinfo-strsignal.dif ++++++ --- routines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- routines.c +++ routines.c 2020-08-07 08:11:45.038790291 +0000 @@ -146,7 +146,7 @@ quit (int i) exit (0); } else { printf ("%s%s%s", ve, se, tgoto (cm, 0, li)); - printf ("[%s]\n", sys_siglist[i]); + printf ("[%s]\n", strsignal(i)); exit (128 + i); } }
