mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
39
package/libbsd/0001-src-local-elf.h-fix-big-endian-sh.patch
Normal file
39
package/libbsd/0001-src-local-elf.h-fix-big-endian-sh.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
From 93c9f8aa72349a4fe33e2a732100c76f3904eb80 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 7 Jun 2022 19:27:13 +0200
|
||||
Subject: [PATCH] src/local-elf.h: fix big endian sh
|
||||
|
||||
Fix the following build failure with big endian sh (e.g. sh4aeb):
|
||||
|
||||
In file included from nlist.c:44:
|
||||
nlist.c: In function '__elf_is_okay__':
|
||||
local-elf.h:223:25: error: 'ELFDATA2LMSB' undeclared (first use in this function); did you mean 'ELFDATA2LSB'?
|
||||
223 | #define ELF_TARG_DATA ELFDATA2LMSB
|
||||
| ^~~~~~~~~~~~
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/2980fb79c208454195d77383f1ece9afbd7f981b
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status:
|
||||
https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/19]
|
||||
---
|
||||
src/local-elf.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/local-elf.h b/src/local-elf.h
|
||||
index 1dd3b42..8c4794f 100644
|
||||
--- a/src/local-elf.h
|
||||
+++ b/src/local-elf.h
|
||||
@@ -230,7 +230,7 @@
|
||||
#if defined(__LITTLE_ENDIAN__)
|
||||
#define ELF_TARG_DATA ELFDATA2LSB
|
||||
#elif defined(__BIG_ENDIAN__)
|
||||
-#define ELF_TARG_DATA ELFDATA2LMSB
|
||||
+#define ELF_TARG_DATA ELFDATA2MSB
|
||||
#else
|
||||
#error Unknown SH endianness
|
||||
#endif
|
||||
--
|
||||
2.35.1
|
||||
|
||||
@@ -10,8 +10,10 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
config BR2_PACKAGE_LIBBSD
|
||||
bool "libbsd"
|
||||
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_LIBMD
|
||||
help
|
||||
This library provides useful functions commonly found on BSD
|
||||
systems, and lacking on others like GNU systems, thus making
|
||||
@@ -21,6 +23,7 @@ config BR2_PACKAGE_LIBBSD
|
||||
|
||||
http://libbsd.freedesktop.org/
|
||||
|
||||
comment "libbsd needs a toolchain w/ threads, wchar"
|
||||
comment "libbsd needs a toolchain w/ dynamic library, threads, wchar"
|
||||
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_USE_WCHAR
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://lists.freedesktop.org/archives/libbsd/2019-August/000229.html
|
||||
sha256 34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887 libbsd-0.10.0.tar.xz
|
||||
sha256 933d14a6bc89ee1fd7adbf5b6ec97f6ff0e002549d0b0c164f8a8895371d78f8 COPYING
|
||||
# From https://lists.freedesktop.org/archives/libbsd/2021-February/000305.html
|
||||
sha512 a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5 libbsd-0.11.3.tar.xz
|
||||
sha256 ff2fdeeb0fe8bcb9045fe91d69e8312a5b477c54db48dffe34dd1c0d730c5864 COPYING
|
||||
|
||||
@@ -4,12 +4,14 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBBSD_VERSION = 0.10.0
|
||||
LIBBSD_VERSION = 0.11.3
|
||||
LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz
|
||||
LIBBSD_SITE = https://libbsd.freedesktop.org/releases
|
||||
LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \
|
||||
MIT, ISC, Beerware
|
||||
LIBBSD_LICENSE_FILES = COPYING
|
||||
LIBBSD_CPE_ID_VENDOR = freedesktop
|
||||
LIBBSD_INSTALL_STAGING = YES
|
||||
LIBBSD_DEPENDENCIES = libmd
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user