mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 21:07:54 +00:00
strace: Update to 6.4
https://lists.strace.io/pipermail/strace-devel/2023-June/011339.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
0752bd1afe
commit
35f9cc2e06
@ -1,39 +0,0 @@
|
||||
From 8f691206e4aa769cc99e264f1c15ae6956789f91 Mon Sep 17 00:00:00 2001
|
||||
From: "Dmitry V. Levin" <ldv@strace.io>
|
||||
Date: Mon, 15 May 2023 08:00:00 +0000
|
||||
Subject: [PATCH] configure: do not take the SUBLEVEL part of the kernel
|
||||
version into account
|
||||
|
||||
* configure.ac: When deciding whether to use bundled version of kernel
|
||||
headers, ignore the SUBLEVEL part of the kernel version, assuming that
|
||||
any potential changes in UAPI introduced in stable kernels are not
|
||||
important.
|
||||
|
||||
Resolves: https://github.com/strace/strace/issues/253
|
||||
---
|
||||
configure | 2 +-
|
||||
configure.ac | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -278,7 +278,7 @@
|
||||
[AS_IF([test $enable_bundled = check],
|
||||
[AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM([#include <linux/version.h>
|
||||
-#define USE_OS_HEADERS (LINUX_VERSION_CODE > ]linux_version_code[ ? 1 : -1)],
|
||||
+#define USE_OS_HEADERS ((LINUX_VERSION_CODE >> 8) > (]linux_version_code[ >> 8) ? 1 : -1)],
|
||||
[[int i[USE_OS_HEADERS];]]
|
||||
)
|
||||
],
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -6303,7 +6303,7 @@
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <linux/version.h>
|
||||
-#define USE_OS_HEADERS (LINUX_VERSION_CODE > 393984 ? 1 : -1)
|
||||
+#define USE_OS_HEADERS ((LINUX_VERSION_CODE >> 8) > (393984 >> 8) ? 1 : -1)
|
||||
int
|
||||
main ()
|
||||
{
|
4
packages/strace/6.3/chksum
vendored
4
packages/strace/6.3/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-6.3.tar.xz 119a0d932104452782149467ad619b97
|
||||
sha1 strace-6.3.tar.xz 9fc6a7c9d2de29aeb5a21b8a5099df2341584774
|
||||
sha256 strace-6.3.tar.xz e17878e301506c1cc301611118ad14efee7f8bcef63b27ace5d290acce7bb731
|
||||
sha512 strace-6.3.tar.xz 2b0a57e3ee8a23eb3882123149cd732c568322614bf8fde69fabcea64d0d4e3c46c71d63183e0e8d9f8744a7b1cebc823cc67023660c37547f5b854fcc1ca9df
|
4
packages/strace/6.4/chksum
vendored
Normal file
4
packages/strace/6.4/chksum
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
md5 strace-6.4.tar.xz b6e5842f27b5cc9022c8bd7238435a6a
|
||||
sha1 strace-6.4.tar.xz e8e1e23f8d731c6c81eb929e6454846f01bad2ff
|
||||
sha256 strace-6.4.tar.xz 27987dbac57fdfd260c6db4dc8328df35c95c6867c8a3d4371d59cdcf4eb9238
|
||||
sha512 strace-6.4.tar.xz 29f47195b2766dc0d2907aba2d561e87ec87939251d07fd82d22ffdd3c864944ab0c47eabd7b13272345dfc5dfae7ca435c94fd5ccc297dd46e0747c6d463e01
|
Loading…
Reference in New Issue
Block a user