initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From 7fd9de7f12718db0ace575c15c3a0e061ef6c542 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Thu, 11 Nov 2021 09:46:41 +0100
|
||||
Subject: [PATCH] m4/stack-direction.m4: fix build on microblazeel
|
||||
|
||||
Fix the following build failure on microblazeel with diffutils raised
|
||||
since version 3.8 and
|
||||
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=e54aa6196947ed22ff66bcd714e4fc7bd0c5c3b4
|
||||
|
||||
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/5ecd55b7c72f9630a7acc72341ccb60e94ddb574
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: sent to bug-gnulib@gnu.org]
|
||||
---
|
||||
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 | \
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 496c1740e5475be85b65fdb2b143771f09ed27cb Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Thu, 11 Nov 2021 10:06:31 +0100
|
||||
Subject: sigsegv: fix build on or1k
|
||||
|
||||
Fix the following build failure on or1k with diffutils 3.8
|
||||
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=e54aa6196947ed22ff66bcd714e4fc7bd0c5c3b4
|
||||
sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this'
|
||||
http://autobuild.buildroot.org/results/5427e52489d29ed4f18b4a70b3c36f0f7bb0ddd9
|
||||
|
||||
[Retrieved from:
|
||||
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=496c1740e5475be85b65fdb2b143771f09ed27cb]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
m4/stack-direction.m4 | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
|
||||
index 70286c8f5..29e398d77 100644
|
||||
--- a/m4/stack-direction.m4
|
||||
+++ b/m4/stack-direction.m4
|
||||
@@ -45,6 +45,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
|
||||
nios2 | \
|
||||
nds32* | \
|
||||
ns32k | \
|
||||
+ or1k | \
|
||||
pdp11 | \
|
||||
pj* | \
|
||||
powerpc* | rs6000 | \
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
From 135414a7f543e4d40ad0a7cbd51885e159a6e0f4 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Eggert <eggert@cs.ucla.edu>
|
||||
Date: Tue, 30 Nov 2021 17:50:01 -0800
|
||||
Subject: sys_random: port better to uClibc < 1.0.35
|
||||
|
||||
Problem reported by Fabrice Fontaine in:
|
||||
https://lists.gnu.org/r/bug-gnulib/2021-11/msg00043.html
|
||||
* lib/sys_random.in.h [HAVE_SYS_RANDOM_H && !__GLIBC__ && __UCLIBC__]:
|
||||
Include <stddef.h>, in case this file is included before
|
||||
__UCLIBC__ is defined.
|
||||
|
||||
[Retrieved (and backported to remove ChangeLog update) from:
|
||||
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
ChangeLog | 9 +++++++++
|
||||
lib/sys_random.in.h | 6 ++++--
|
||||
2 files changed, 13 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/sys_random.in.h b/lib/sys_random.in.h
|
||||
index 1abd6c544..8b4b934a1 100644
|
||||
--- a/lib/sys_random.in.h
|
||||
+++ b/lib/sys_random.in.h
|
||||
@@ -23,8 +23,10 @@
|
||||
|
||||
#if @HAVE_SYS_RANDOM_H@
|
||||
|
||||
-/* On uClibc, <sys/random.h> assumes prior inclusion of <stddef.h>. */
|
||||
-# if defined __UCLIBC__
|
||||
+/* On uClibc < 1.0.35, <sys/random.h> assumes prior inclusion of <stddef.h>.
|
||||
+ Do not use __UCLIBC__ here, as it might not be defined yet.
|
||||
+ But avoid namespace pollution on glibc systems. */
|
||||
+# ifndef __GLIBC__
|
||||
# include <stddef.h>
|
||||
# endif
|
||||
/* On Mac OS X 10.5, <sys/random.h> assumes prior inclusion of <sys/types.h>.
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_DIFFUTILS
|
||||
bool "diffutils"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
help
|
||||
GNU diff. Compare files per line.
|
||||
|
||||
http://www.gnu.org/software/diffutils/diffutils.html
|
||||
|
||||
comment "diffutils needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec diffutils-3.8.tar.xz
|
||||
# Locally calculated
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# diffutils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DIFFUTILS_VERSION = 3.8
|
||||
DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz
|
||||
DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils
|
||||
DIFFUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||
DIFFUTILS_LICENSE = GPL-3.0+
|
||||
DIFFUTILS_LICENSE_FILES = COPYING
|
||||
# We're patching m4/stack-direction.m4
|
||||
DIFFUTILS_AUTORECONF = YES
|
||||
|
||||
# Since glibc >= 2.26, don't try to use getopt_long replacement bundled
|
||||
# with diffutils. It will conflict with the one from glibc.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
DIFFUTILS_CONF_ENV += gl_cv_func_getopt_gnu=yes
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user