Merge pull request #4391 from lazka/psmisc-23.6

psmisc: Update to 23.6
This commit is contained in:
Christoph Reiter 2024-02-01 20:15:26 +01:00 committed by GitHub
commit 7f1e9e677d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,12 @@
--- psmisc-v23.6/src/killall.c.orig 2024-02-01 20:04:58.803238600 +0100
+++ psmisc-v23.6/src/killall.c 2024-02-01 20:04:42.372098800 +0100
@@ -38,7 +38,9 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
+#endif
#include <fcntl.h>
#include <getopt.h>
#include <pwd.h>

View File

@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=psmisc
pkgver=23.4
pkgver=23.6
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64')
@ -10,11 +10,16 @@ license=('GPL')
groups=('sys-utils')
depends=('gcc-libs' 'ncurses' 'libiconv' 'libintl')
makedepends=('gcc' 'ncurses-devel' 'libiconv-devel' 'gettext-devel' 'autotools' 'gcc')
source=(${pkgname}-${pkgver}.tar.gz::https://gitlab.com/psmisc/psmisc/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz)
sha256sums=('3b8ea0262d4c56578f13a1b930cda5721e1137d4e59c8afcc2832a31b85f2682')
source=(${pkgname}-${pkgver}.tar.gz::https://gitlab.com/psmisc/psmisc/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz
"0000-fix-build.patch")
sha256sums=('58022dc47e0fb855468ba6c3c36af225b2caa79b61c8d68132438004fe8b79f3'
'99f27495fc1c4560246442e30f966b072d9209040dc6d98962d60ff52ce9b73c')
prepare() {
cd ${pkgname}-v${pkgver}
patch -Np1 -i ../0000-fix-build.patch
echo ${pkgver} > .tarball-version
./autogen.sh
}