kumquat-buildroot/package/grep/0001-sigsegv-fix-build-on-microblazeel.patch
Fabrice Fontaine debc50bd59 package/grep: fix build with microblazeel and or1k
Fix the following build failure with microblazeel and or1k raised since
bump to version 3.7 in commit f1f0b633eb:

sigsegv.c: In function 'sigsegv_handler':
sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this'
  979 |                       : vma.is_near_this (addr, &vma))
      |

Fixes:
 - http://autobuild.buildroot.org/results/78142463ba8cc5f6c1bf15295095a271422294f4
 - http://autobuild.buildroot.org/results/f300b1b5e958f096a9d58197a44dcf0c2abd3585

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-12-18 14:00:35 +01:00

33 lines
1.0 KiB
Diff

From 3079cea1b18fe72aa1da6b04e561abfb36f4f443 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Thu, 11 Nov 2021 09:57:23 +0100
Subject: sigsegv: fix build on microblazeel
Fix the following build failure on microblazeel with diffutils 3.8:
sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this'
http://autobuild.buildroot.org/results/5ecd55b7c72f9630a7acc72341ccb60e94ddb574
[Retrieved from:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3079cea1b18fe72aa1da6b04e561abfb36f4f443]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
m4/stack-direction.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
index c90d69733..70286c8f5 100644
--- a/m4/stack-direction.m4
+++ b/m4/stack-direction.m4
@@ -37,7 +37,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
m68* | \
m88k | \
mcore | \
- microblaze | \
+ microblaze* | \
mips* | \
mmix | \
mn10200 | \
--
cgit v1.2.1