diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-06-13 11:29:36 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-06-14 15:17:16 +1200 |
commit | 36ad0b17a732aaffe4701d5d8d410d6e3e3abba9 (patch) | |
tree | 2beab22eee347b9a1cf6df1aa6f17fcd4a8b0a71 /packages/strace | |
parent | c0135a1dce6f86aad351c1f026bc60ea1ae35df7 (diff) | |
download | crosstool-ng-36ad0b17a732aaffe4701d5d8d410d6e3e3abba9.tar.gz crosstool-ng-36ad0b17a732aaffe4701d5d8d410d6e3e3abba9.tar.bz2 crosstool-ng-36ad0b17a732aaffe4701d5d8d410d6e3e3abba9.zip |
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 <judge.packham@gmail.com>
Diffstat (limited to 'packages/strace')
-rw-r--r-- | packages/strace/6.3/0000-configure-do-not-take-the-SUBLEVEL-part-of-the-kerne.patch | 2 |
1 files changed, 1 insertions, 1 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 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 <linux/version.h> -#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 () { |