Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From 6b043b9b676e88a80e3d4013863c5e970fdde1df Mon Sep 17 00:00:00 2001
|
||||
From: Aleksander Morgado <aleksander@aleksander.es>
|
||||
Date: Mon, 11 Sep 2017 09:31:03 +0200
|
||||
Subject: [PATCH] mbim-device: prefer realpath() to canonicalize_file_name()
|
||||
|
||||
Usually the canonicalize_file_name() GNU extension is preferred to the
|
||||
POSIX realpath(), as it covers some of the limitations the latter has.
|
||||
But this extension isn't available in lots of platforms or in other
|
||||
c library implementations (e.g. musl), so just default to the POSIX
|
||||
method to improve portability.
|
||||
|
||||
Note that the check for canonicalize_file_name() availability during
|
||||
configure isn't as trivial as adding a new AC_CHECK_FUNCS(), and
|
||||
importing a gnulib module seems overkill just for this one liner.
|
||||
|
||||
(cherry picked from commit 417b0b80023dc30d61c111ec0a54da2884d3a541)
|
||||
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
|
||||
---
|
||||
src/libmbim-glib/mbim-device.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/libmbim-glib/mbim-device.c b/src/libmbim-glib/mbim-device.c
|
||||
index e1f32a6..20e64af 100644
|
||||
--- a/src/libmbim-glib/mbim-device.c
|
||||
+++ b/src/libmbim-glib/mbim-device.c
|
||||
@@ -867,7 +867,7 @@ get_descriptors_filepath (MbimDevice *self)
|
||||
* /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:2.0
|
||||
*/
|
||||
tmp = g_strdup_printf ("/sys/class/%s/%s/device", subsystems[i], device_basename);
|
||||
- path = canonicalize_file_name (tmp);
|
||||
+ path = realpath (tmp, NULL);
|
||||
g_free (tmp);
|
||||
|
||||
if (g_file_test (path, G_FILE_TEST_EXISTS)) {
|
||||
--
|
||||
2.13.1
|
||||
|
||||
@@ -2,16 +2,15 @@ config BR2_PACKAGE_LIBMBIM
|
||||
bool "libmbim"
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
select BR2_PACKAGE_LIBGUDEV
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
libmbim is a glib-based library for talking to WWAN modems and
|
||||
devices which speak the Mobile Interface Broadband Model (MBIM)
|
||||
protocol.
|
||||
devices which speak the Mobile Interface Broadband Model
|
||||
(MBIM) protocol.
|
||||
|
||||
http://www.freedesktop.org/wiki/Software/libmbim/
|
||||
|
||||
comment "libmbim needs udev /dev management and a toolchain w/ wchar, threads"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_PACKAGE_HAS_UDEV
|
||||
comment "libmbim needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
# Locally computed:
|
||||
sha256 ca8d52a95a18cbabae8f15f83f1572316e888b6504f946e6645d24405127ab5b libmbim-1.14.0.tar.xz
|
||||
sha256 22cafe6b8432433aa58bedcf7db71111522ce6531bfe24e8e9b6058412cd31cf libmbim-1.14.2.tar.xz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
|
||||
|
||||
@@ -4,16 +4,24 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBMBIM_VERSION = 1.14.0
|
||||
LIBMBIM_VERSION = 1.14.2
|
||||
LIBMBIM_SITE = http://www.freedesktop.org/software/libmbim
|
||||
LIBMBIM_SOURCE = libmbim-$(LIBMBIM_VERSION).tar.xz
|
||||
LIBMBIM_LICENSE = LGPLv2+ (library), GPLv2+ (programs)
|
||||
LIBMBIM_LICENSE_FILES = COPYING
|
||||
LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
|
||||
LIBMBIM_LICENSE_FILES = COPYING COPYING.LIB
|
||||
LIBMBIM_INSTALL_STAGING = YES
|
||||
|
||||
LIBMBIM_DEPENDENCIES = libglib2 udev libgudev
|
||||
LIBMBIM_DEPENDENCIES = libglib2
|
||||
|
||||
# we don't want -Werror
|
||||
LIBMBIM_CONF_OPTS = --enable-more-warnings=no
|
||||
|
||||
# if libgudev available, request udev support
|
||||
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
|
||||
LIBMBIM_DEPENDENCIES += libgudev
|
||||
LIBMBIM_CONF_OPTS += --with-udev
|
||||
else
|
||||
LIBMBIM_CONF_OPTS += --without-udev
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user