Bump buildroot to 2019.02

This commit is contained in:
2019-03-28 22:49:48 +01:00
parent 5598b1b762
commit 920d307141
5121 changed files with 78550 additions and 46132 deletions

View File

@@ -0,0 +1,40 @@
From 8575450b9c1226fc38196b29e33c67f2b58cacf5 Mon Sep 17 00:00:00 2001
From: Baruch Siach <baruch@tkos.co.il>
Date: Tue, 5 Jun 2018 19:18:47 +0300
Subject: [PATCH] flopen: fix build with musl libc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Commit 993828d84ee (Add flopenat() function from FreeBSD) dropped the
fcntl.h header. This breaks the build with musl libc:
flopen.c: In function vflopenat:
flopen.c:60:14: error: O_CREAT undeclared (first use in this function)
if (flags & O_CREAT) {
^~~~~~~
Restore the fcntl.h header include to fix the build.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Upstream status: sent to libbsd@lists.freedesktop.org
src/flopen.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/flopen.c b/src/flopen.c
index b9972c94ec90..ff20d074445b 100644
--- a/src/flopen.c
+++ b/src/flopen.c
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#include <errno.h>
+#include <fcntl.h>
#include <stdarg.h>
#include <unistd.h>
--
2.17.1

View File

@@ -4,12 +4,15 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
# libbsd does not support those architectures (see src/local-elf.h)
depends on !BR2_microblaze
depends on !BR2_arc
depends on !BR2_xtensa
# uClibc on noMMU doesn't provide __register_atfork()
depends on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU)
config BR2_PACKAGE_LIBBSD
bool "libbsd"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_USE_WCHAR
help
This library provides useful functions commonly found on BSD
systems, and lacking on others like GNU systems, thus making
@@ -19,6 +22,6 @@ config BR2_PACKAGE_LIBBSD
http://libbsd.freedesktop.org/
comment "libbsd needs a glibc toolchain w/ threads"
comment "libbsd needs a toolchain w/ threads, wchar"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR

View File

@@ -1,3 +1,3 @@
# From https://lists.freedesktop.org/archives/libbsd/2018-January/000166.html
sha256 f548f10e5af5a08b1e22889ce84315b1ebe41505b015c9596bad03fd13a12b31 libbsd-0.8.7.tar.xz
sha256 0b6cedd686394f9c811a6a9fd314d68ab4738475ad3d9df61154259fa649a2a7 COPYING
# From https://lists.freedesktop.org/archives/libbsd/2018-May/000190.html
sha256 56d835742327d69faccd16955a60b6dcf30684a8da518c4eca0ac713b9e0a7a4 libbsd-0.9.1.tar.xz
sha256 df6d8e1b5b3a5b06376c658c8ad3afc82687f1c0e0404cec4738ad14b2675708 COPYING

View File

@@ -4,10 +4,11 @@
#
################################################################################
LIBBSD_VERSION = 0.8.7
LIBBSD_VERSION = 0.9.1
LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz
LIBBSD_SITE = https://archive.hadrons.org/software/libbsd
LIBBSD_LICENSE = BSD-3-Clause, MIT
LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \
MIT, ISC, Beerware
LIBBSD_LICENSE_FILES = COPYING
LIBBSD_INSTALL_STAGING = YES