commit
35d81c7128
@ -10,3 +10,23 @@
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
#include <pwd.h>
|
||||
--- psmisc-v23.7/src/statx.c.orig 2024-06-09 20:06:35.559989500 +0200
|
||||
+++ psmisc-v23.7/src/statx.c 2024-06-09 20:07:07.457617800 +0200
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
+#ifdef WITH_STATX
|
||||
+
|
||||
#include <sys/sysmacros.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/types.h>
|
||||
@@ -33,7 +35,6 @@
|
||||
#include <fcntl.h> /* Definition of AT_* constants */
|
||||
|
||||
int stat_flags = AT_NO_AUTOMOUNT|AT_STATX_DONT_SYNC;
|
||||
-#ifdef WITH_STATX
|
||||
|
||||
#include <errno.h>
|
||||
#ifndef HAVE_STATX
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
pkgname=psmisc
|
||||
pkgver=23.6
|
||||
pkgver=23.7
|
||||
pkgrel=1
|
||||
pkgdesc="Miscellaneous procfs tools"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -12,12 +12,13 @@ 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
|
||||
"0000-fix-build.patch")
|
||||
sha256sums=('58022dc47e0fb855468ba6c3c36af225b2caa79b61c8d68132438004fe8b79f3'
|
||||
'99f27495fc1c4560246442e30f966b072d9209040dc6d98962d60ff52ce9b73c')
|
||||
sha256sums=('8f2526ce7ac6ef4976454cd63095fa10e467ef745cf33dc4f91df0bd7b10b905'
|
||||
'76a8ae44d356ddce5d120ad71e880ac5d85e303f34a92a53d52be81aa583be97')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-v${pkgver}
|
||||
|
||||
# https://gitlab.com/psmisc/psmisc/-/merge_requests/39
|
||||
patch -Np1 -i ../0000-fix-build.patch
|
||||
|
||||
echo ${pkgver} > .tarball-version
|
||||
@ -31,7 +32,8 @@ build() {
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
--disable-harden-flags \
|
||||
CPPFLAGS="${CPPFLAGS} -I/usr/include/ncursesw"
|
||||
--disable-statx
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user