[packages/procinfo] Rel 8
arekm
arekm at pld-linux.org
Mon Mar 9 18:00:41 CET 2026
commit 4a5cd85e4e4cf7bcad6a928c1b20255e59c1a011
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 18:00:24 2026 +0100
Rel 8
procinfo-strsignal.patch | 10 ++++++++++
procinfo.spec | 5 ++++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/procinfo.spec b/procinfo.spec
index f4ae54f..933f4cd 100644
--- a/procinfo.spec
+++ b/procinfo.spec
@@ -5,7 +5,7 @@ Summary(pl.UTF-8): Informacje z filesystemu proc
Summary(tr.UTF-8): proc dosya sistemi bilgileri
Name: procinfo
Version: 18
-Release: 7
+Release: 8
License: GPL
Group: Applications/System
Source0: ftp://ftp.cistron.nl/pub/people/00-OLD/sandervm/%{name}-%{version}.tar.gz
@@ -13,6 +13,7 @@ Source0: ftp://ftp.cistron.nl/pub/people/00-OLD/sandervm/%{name}-%{version}.tar.
Patch0: %{name}-DESTDIR.patch
Patch1: %{name}-uptime.patch
Patch2: %{name}-lsdev.patch
+Patch3: %{name}-strsignal.patch
BuildRequires: ncurses-devel >= 5.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -59,11 +60,13 @@ Pomocnicze skrypty perlowe do procinfo.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
%build
%{__make} \
CC="%{__cc}" \
CFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
+ LDFLAGS="%{rpmldflags}" \
LDLIBS="-lncurses"
%install
diff --git a/procinfo-strsignal.patch b/procinfo-strsignal.patch
new file mode 100644
index 0000000..bb652bb
--- /dev/null
+++ b/procinfo-strsignal.patch
@@ -0,0 +1,10 @@
+--- procinfo-18/routines.c.orig 2002-01-10 09:29:39.000000000 +0000
++++ procinfo-18/routines.c 2024-01-01 00:00:00.000000000 +0000
+@@ -146,7 +146,7 @@
+ } 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);
+ }
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/procinfo.git/commitdiff/4a5cd85e4e4cf7bcad6a928c1b20255e59c1a011
More information about the pld-cvs-commit
mailing list