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,81 @@
From d934b0fa5ce24a8fd1987b916e435ba991c2ef64 Mon Sep 17 00:00:00 2001
From: Vadim Kochan <vadim.kochan@petcube.com>
Date: Mon, 31 Dec 2018 11:00:46 +0200
Subject: [PATCH] Fix compilation issue due to missing sys/sysmacros.h include
glibc 2.28+ no longer include <sys/sysmacros.h> from <sys/types.h>, so
<sys/sysmacros.h> must now be explicitly included to use the major,
minor and makedev macros.
Signed-off-by: Vadim Kochan <vadim.kochan@petcube.com>
---
src/daemon.c | 1 +
src/device.c | 1 +
src/mount-monitor.c | 1 +
tools/udisks.c | 1 +
tools/umount-udisks.c | 1 +
5 files changed, 5 insertions(+)
diff --git a/src/daemon.c b/src/daemon.c
index fafcf9a..4303a6d 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -45,6 +45,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/utsname.h>
+#include <sys/sysmacros.h>
#include <net/if_arp.h>
#include <fcntl.h>
#include <signal.h>
diff --git a/src/device.c b/src/device.c
index 2ae7f38..20920df 100644
--- a/src/device.c
+++ b/src/device.c
@@ -33,6 +33,7 @@
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/resource.h>
+#include <sys/sysmacros.h>
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>
diff --git a/src/mount-monitor.c b/src/mount-monitor.c
index 573a69c..0cfa167 100644
--- a/src/mount-monitor.c
+++ b/src/mount-monitor.c
@@ -29,6 +29,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <mntent.h>
#include <glib.h>
diff --git a/tools/udisks.c b/tools/udisks.c
index 97e80d7..22a7d87 100644
--- a/tools/udisks.c
+++ b/tools/udisks.c
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <sys/sysmacros.h>
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>
diff --git a/tools/umount-udisks.c b/tools/umount-udisks.c
index 2813fe0..d915660 100644
--- a/tools/umount-udisks.c
+++ b/tools/umount-udisks.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>
--
2.14.1

View File

@@ -2,9 +2,9 @@ config BR2_PACKAGE_UDISKS
bool "udisks"
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2
depends on BR2_TOOLCHAIN_USES_GLIBC # polkit, lvm2
depends on BR2_USE_MMU # lvm2
depends on !BR2_STATIC_LIBS # lvm2
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
depends on BR2_USE_WCHAR # dbus-glib -> glib2
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_GLIB
@@ -40,7 +40,7 @@ comment "udisks needs udev /dev management"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_HAS_UDEV
comment "udisks needs a glibc or uClibc toolchain w/ wchar, threads, dynamic library"
comment "udisks needs a glibc toolchain w/ wchar, threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_USES_GLIBC