Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

procps-ng: Update to 4.0.5 #5089

Merged
merged 1 commit into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions procps-ng/0001-duplicate-signal-build-error.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- procps-ng-4.0.5/library/signames.c.orig 2024-12-26 16:11:12.020934500 +0100
+++ procps-ng-4.0.5/library/signames.c 2024-12-26 16:12:31.274809200 +0100
@@ -100,9 +100,6 @@
SIGABBREV(PWR);
#endif
SIGABBREV(SYS);
-#ifdef SIGLOST // Hurd (gitlab#93)
- SIGABBREV(LOST);
-#endif
#if defined __sun || defined __SUN || defined __solaris__ || defined __SOLARIS__
case 0: return "EXIT";
#endif
11 changes: 11 additions & 0 deletions procps-ng/0002-no-hugetlb.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- procps-ng-4.0.5/testsuite/ps.test/test-hugetlb.c.orig 2024-12-26 16:12:35.138200500 +0100
+++ procps-ng-4.0.5/testsuite/ps.test/test-hugetlb.c 2024-12-26 16:12:43.726064700 +0100
@@ -59,7 +59,7 @@
usage(argv[0], "Invalid size");

if (MAP_FAILED == (addr = mmap(NULL, (kbytes*1024), (PROT_READ | PROT_WRITE),
- (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB), 0, 0))) {
+ (MAP_PRIVATE | MAP_ANONYMOUS), 0, 0))) {
perror("mmap");
exit(EXIT_FAILURE);
}
18 changes: 14 additions & 4 deletions procps-ng/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=procps-ng
pkgver=4.0.4
pkgver=4.0.5
pkgrel=1
pkgdesc='Utilities for monitoring your system and its processes'
arch=('i686' 'x86_64')
Expand All @@ -18,12 +18,16 @@ replaces=('procps')
source=("https://downloads.sourceforge.net/project/${pkgname}/Production/${pkgname}-${pkgver}.tar.xz"{,.asc}
"procps-ng-4.0.4-manpage.patch"
"procps-ng-4.0.4-wchan.patch"
"procps-ng-4.0.4-LDADD.patch")
sha256sums=('22870d6feb2478adb617ce4f09a787addaf2d260c5a8aa7b17d889a962c5e42e'
"procps-ng-4.0.4-LDADD.patch"
"0001-duplicate-signal-build-error.patch"
"0002-no-hugetlb.patch")
sha256sums=('c2e6d193cc78f84cd6ddb72aaf6d5c6a9162f0470e5992092057f5ff518562fa'
'SKIP'
'bbe3eacad042da824c78d634022c405f8900bc98b56744220f537216daa82bc7'
'6b89d78b1d48d3f7d704d12da05c6bc6d95d009f0b6833fa7a527f9ec909cc18'
'254768bf9fd844fd937df71f5201eda2f03dd7358ac365741de50c92afcccb41')
'254768bf9fd844fd937df71f5201eda2f03dd7358ac365741de50c92afcccb41'
'cfbf4614ef971a7ddfa65316e5aa80b98b8dc0645cda48d0aeaa7ed08f9db510'
'3e26c3c925d25e7cf0a6c37923f15f8759d9b9612a72433dc02470d3cf2e44a5')
validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small <csmall@debian.org>

prepare() {
Expand All @@ -34,6 +38,11 @@ prepare() {
patch -p2 -i ${srcdir}/procps-ng-4.0.4-wchan.patch
patch -p2 -i ${srcdir}/procps-ng-4.0.4-LDADD.patch

# cygwin is missing sigabbrev_np() and the fallback doesn't deal with duplicate signals
patch -p1 -i ${srcdir}/0001-duplicate-signal-build-error.patch
# cygwin doesn't have hugetlb
patch -p1 -i ${srcdir}/0002-no-hugetlb.patch

autoreconf -fi
}

Expand All @@ -51,6 +60,7 @@ build() {
--without-libiconv-prefix \
--without-libintl-prefix \
--enable-watch8bit \
--disable-pidwait \
--disable-numa \
--disable-kill
# kill is provided by util-linux
Expand Down
Loading