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
@@ -0,0 +1,36 @@
From 645c45f0334bb1d6e31b5927cece5e446f129cbb Mon Sep 17 00:00:00 2001
From: Danilo Spinella <danyspin97@protonmail.com>
Date: Sat, 7 Dec 2019 00:05:21 +0100
Subject: [PATCH] Fix musl compilation by adding TEMP_FAILURE_RETRY
Fetch from: https://github.com/flatpak/xdg-dbus-proxy/pull/13
Upstream-Status: Accepted
Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
dbus-proxy.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/dbus-proxy.c b/dbus-proxy.c
index 163df21..4b07931 100644
--- a/dbus-proxy.c
+++ b/dbus-proxy.c
@@ -30,6 +30,15 @@
#include <errno.h>
#include "flatpak-proxy.h"
+// Taken from glibc unistd.h
+#ifndef TEMP_FAILURE_RETRY
+# define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif
static const char *argv0;
static GList *proxies;
--
2.24.1
+14
View File
@@ -0,0 +1,14 @@
config BR2_PACKAGE_XDG_DBUS_PROXY
bool "xdg-dbus-proxy"
depends on BR2_USE_WCHAR # libglib2 -> gettext
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
select BR2_PACKAGE_LIBGLIB2
help
Filtering proxy for D-Bus connections.
https://github.com/flatpak/xdg-dbus-proxy
comment "xdg-dbus-proxy needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
@@ -0,0 +1,5 @@
# From https://github.com/flatpak/xdg-dbus-proxy/releases/tag/0.1.2
sha256 1749d6f9f46dcc9edc87725641cf56cf91dcad1b01707891ea0850c1000c520f xdg-dbus-proxy-0.1.2.tar.xz
# Hash for license files:
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
+17
View File
@@ -0,0 +1,17 @@
################################################################################
#
# bubblewrap
#
################################################################################
XDG_DBUS_PROXY_VERSION = 0.1.2
XDG_DBUS_PROXY_SITE = https://github.com/flatpak/xdg-dbus-proxy/releases/download/$(XDG_DBUS_PROXY_VERSION)
XDG_DBUS_PROXY_SOURCE = xdg-dbus-proxy-$(XDG_DBUS_PROXY_VERSION).tar.xz
XDG_DBUS_PROXY_DEPENDENCIES = host-pkgconf libglib2
XDG_DBUS_PROXY_LICENSE = LGPL-2.1+
XDG_DBUS_PROXY_LICENSE_FILES = COPYING
XDG_DBUS_PROXY_CONF_OPTS = --disable-man
$(eval $(autotools-package))