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:
parent
c541302e65
commit
229234259a
@ -1,5 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < posix.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
|
@ -1 +1,2 @@
|
||||
69d498a93b08e1bc6dbf44ef78661c8fc8e52b086150eb13ef52290308c6525c02
|
||||
6d1740c74ea7e47037320259b0e7a772aabc1cfcccf4ac2d3cc1726639ecb92d18
|
||||
5693b92b54eb479474dc706fdbca7afd1e09af992b9614b913130a7766606ed2e0
|
||||
|
23
extra/util-linux/patches/posix.patch
Normal file
23
extra/util-linux/patches/posix.patch
Normal 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"
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
2.39.3 1
|
||||
2.40 1
|
||||
|
Loading…
Reference in New Issue
Block a user