2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-14 02:30:09 -07:00

util-linux: 2.40

This commit is contained in:
Owen Rafferty 2024-03-30 12:31:57 -05:00
parent c541302e65
commit 229234259a
No known key found for this signature in database
5 changed files with 30 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e
patch -p1 < posix.patch
./configure \
--prefix=/usr \
--localstatedir=/var \

View File

@ -1 +1,2 @@
69d498a93b08e1bc6dbf44ef78661c8fc8e52b086150eb13ef52290308c6525c02
6d1740c74ea7e47037320259b0e7a772aabc1cfcccf4ac2d3cc1726639ecb92d18
5693b92b54eb479474dc706fdbca7afd1e09af992b9614b913130a7766606ed2e0

View File

@ -0,0 +1,23 @@
diff --git a/tools/all_syscalls b/tools/all_syscalls
index 9c14778..062ac4e 100755
--- a/tools/all_syscalls
+++ b/tools/all_syscalls
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e
@@ -7,9 +7,9 @@ SYSCALL_INCLUDES="
#include <sys/syscall.h>
"
-trap 'rm $OUTPUT $OUTPUT.deps' ERR
+trap '[ $? -eq 0 ] || rm $OUTPUT $OUTPUT.deps' EXIT
-"$@" -MD -MF "$OUTPUT.deps" <<< "$SYSCALL_INCLUDES" -dM -E - \
- | gawk 'match($0, /^#define __NR_([^ ]+)/, res) { print "UL_SYSCALL(\"" res[1] "\", __NR_" res[1] ")" }' \
+echo "$SYSCALL_INCLUDES" | "$@" -MD -MF "$OUTPUT.deps" -dM -E - \
+ | awk 'match($0, /^#define __NR_([^ ]+)/, res) { print "UL_SYSCALL(\"" res[1] "\", __NR_" res[1] ")" }' \
| sort \
> "$OUTPUT"

View File

@ -1 +1,2 @@
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.39/util-linux-2.39.3.tar.xz
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/util-linux-2.40.tar.xz
patches/posix.patch

View File

@ -1 +1 @@
2.39.3 1
2.40 1