initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
Disable tests to avoid MMU dependency due to fork.
Fixes
CMakeFiles/regression.dir/regression.c.o: In function `_test_file_locks':
/home/br/br4/output/build/libical-v1.0.1/src/test/regression.c:(.text+0x96d8): undefined reference to `_fork'
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr libical-1.0.1.org/src/CMakeLists.txt libical-1.0.1/src/CMakeLists.txt
--- libical-1.0.1.org/src/CMakeLists.txt 2014-10-09 17:07:05.000000000 +0200
+++ libical-1.0.1/src/CMakeLists.txt 2015-04-25 17:41:22.657345548 +0200
@@ -1,7 +1,6 @@
add_subdirectory(libical)
add_subdirectory(libicalss)
add_subdirectory(libicalvcal)
-add_subdirectory(test)
if(MSVC)
install(FILES
@@ -0,0 +1,27 @@
From 6b9438d746cec6e4e632d78c5244f4be6314d1c9 Mon Sep 17 00:00:00 2001
From: Allen Winter <allen.winter@kdab.com>
Date: Sun, 28 May 2017 12:51:10 -0400
Subject: [PATCH] icaltypes.c - icalreqstattype_from_string(), copy the
reqstattype's debug string into its own memory in the ring buffer.
Issue#253
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Retrieved (and backported) from:
https://github.com/libical/libical/commit/6b9438d746cec6e4e632d78c5244f4be6314d1c9]
---
src/libical/icaltypes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libical/icaltypes.c b/src/libical/icaltypes.c
index 70c50d29..85c33545 100644
--- a/src/libical/icaltypes.c
+++ b/src/libical/icaltypes.c
@@ -140,7 +140,7 @@ struct icalreqstattype icalreqstattype_from_string(const char *str)
p2 = strchr(p1+1,';');
if (p2 != 0 && *p2 != 0){
- stat.debug = p2+1;
+ stat.debug = icalmemory_tmp_copy(p2+1);
}
return stat;
+15
View File
@@ -0,0 +1,15 @@
config BR2_PACKAGE_LIBICAL
bool "libical"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR
select BR2_TARGET_TZ_INFO
help
libical is an Open Source (MPL/LGPL) implementation of the
IETF's iCalendar Calendaring and Scheduling protocols.
http://libical.github.io/libical
comment "libical needs a toolchain w/ C++, dynamic library, wchar"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
BR2_STATIC_LIBS
+3
View File
@@ -0,0 +1,3 @@
# Locally computed:
sha256 089ce3c42d97fbd7a5d4b3c70adbdd82115dd306349c1f5c46a8fb3f8c949592 libical-1.0.1.tar.gz
sha256 c393726f82e6f21df5262110215f6a4382b32046d10afdcfcc49338aa7a191f2 LICENSE
+23
View File
@@ -0,0 +1,23 @@
################################################################################
#
# libical
#
################################################################################
LIBICAL_VERSION = 1.0.1
LIBICAL_SITE = https://github.com/libical/libical/releases/download/v$(LIBICAL_VERSION)
LIBICAL_INSTALL_STAGING = YES
LIBICAL_LICENSE = MPL-1.0 or LGPL-2.1
LIBICAL_LICENSE_FILES = LICENSE
LIBICAL_CPE_ID_VENDOR = libical_project
# 0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch
LIBICAL_IGNORE_CVES += CVE-2016-9584
# building without this option is broken, it is used by
# Gentoo/alpinelinux as well
LIBICAL_CONF_OPTS = -DSHARED_ONLY=true
# never build time zone info, always use system's tzinfo
LIBICAL_CONF_OPTS += -DUSE_BUILTIN_TZDATA=false
$(eval $(cmake-package))