aboutsummaryrefslogtreecommitdiff
path: root/packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-06-28 16:05:07 +1200
committerChris Packham <judge.packham@gmail.com>2023-07-10 16:52:22 +1200
commit35f9cc2e065fa2ea5995649ac4b608eb8bf78247 (patch)
tree91f324d69988920f813f9057de76a31a38900861 /packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch
parent0752bd1afe138a8561a5828e154b4d6730c925b0 (diff)
downloadcrosstool-ng-35f9cc2e065fa2ea5995649ac4b608eb8bf78247.tar.gz
crosstool-ng-35f9cc2e065fa2ea5995649ac4b608eb8bf78247.tar.bz2
crosstool-ng-35f9cc2e065fa2ea5995649ac4b608eb8bf78247.zip
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>
Diffstat (limited to 'packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch')
-rw-r--r--packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch b/packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch
deleted file mode 100644
index b34d2c3a..00000000
--- a/packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch
+++ /dev/null
@@ -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 ()
- {