From 36ad0b17a732aaffe4701d5d8d410d6e3e3abba9 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Tue, 13 Jun 2023 11:29:36 +1200 Subject: strace: Fixup patch to configure In the rush to sort out a build issue with strace an invalid change to ./configure was made. Update the patch with the correct delta for the generated file. Fixes #1978 Fixes: d659700d ("strace: Add strace 6.3") Signed-off-by: Chris Packham --- .../6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/strace') 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 index ffae1a68..b34d2c3a 100644 --- 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 @@ -33,7 +33,7 @@ Resolves: https://github.com/strace/strace/issues/253 /* end confdefs.h. */ #include -#define USE_OS_HEADERS (LINUX_VERSION_CODE > 393984 ? 1 : -1) -+#define USE_OS_HEADERS ((LINUX_VERSION_CODE >> 8) > (]linux_version_code[ >> 8) ? 1 : -1) ++#define USE_OS_HEADERS ((LINUX_VERSION_CODE >> 8) > (393984 >> 8) ? 1 : -1) int main () { -- cgit v1.2.3