xref: /OK3568_Linux_fs/buildroot/package/diffutils/0002-sigsegv-fix-build-on-or1k.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 496c1740e5475be85b65fdb2b143771f09ed27cb Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Thu, 11 Nov 2021 10:06:31 +0100
4Subject: sigsegv: fix build on or1k
5
6Fix the following build failure on or1k with diffutils 3.8
7https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=e54aa6196947ed22ff66bcd714e4fc7bd0c5c3b4
8sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this'
9http://autobuild.buildroot.org/results/5427e52489d29ed4f18b4a70b3c36f0f7bb0ddd9
10
11[Retrieved from:
12https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=496c1740e5475be85b65fdb2b143771f09ed27cb]
13Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
14---
15 m4/stack-direction.m4 | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
19index 70286c8f5..29e398d77 100644
20--- a/m4/stack-direction.m4
21+++ b/m4/stack-direction.m4
22@@ -45,6 +45,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
23       nios2 | \
24       nds32* | \
25       ns32k | \
26+      or1k | \
27       pdp11 | \
28       pj* | \
29       powerpc* | rs6000 | \
30--
31cgit v1.2.1
32
33