Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
From 0c8d631f4f9fa24f1bbd56a4dbe9d6f1e2360685 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 17 Dec 2017 12:26:33 +0100
|
||||
Subject: [PATCH] Fix build with libupnp above 1.6.23
|
||||
|
||||
Starting from this release, libupnp has its own compat functions,
|
||||
backport patch from mainstream:
|
||||
https://github.com/videolan/vlc/commit/f9c5a343f1a8cad9c2c153f9c05e4e7201675a43#diff-2e66eb8b4fb06845a6426bd4a541d2f7
|
||||
|
||||
Move UpnpEventPtr declaration in upnp.hpp as done in:
|
||||
https://github.com/videolan/vlc/commit/3eb4e03512f45c1fa27c7f9a6759e8e7d3905720#diff-ac39568c5e5e1c68776a93dfe0b3c1e6
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
modules/services_discovery/upnp.cpp | 5 +----
|
||||
modules/services_discovery/upnp.hpp | 6 ++++++
|
||||
2 files changed, 7 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
|
||||
index 9b6ed8727a..cf846602b8 100644
|
||||
--- a/modules/services_discovery/upnp.cpp
|
||||
+++ b/modules/services_discovery/upnp.cpp
|
||||
@@ -40,11 +40,10 @@
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
|
||||
-#if UPNP_VERSION < 10800
|
||||
+#if UPNP_VERSION < 10623
|
||||
/*
|
||||
* Compat functions and typedefs for libupnp prior to 1.8
|
||||
*/
|
||||
-typedef void* UpnpEventPtr;
|
||||
typedef Upnp_Discovery UpnpDiscovery;
|
||||
typedef Upnp_Action_Complete UpnpActionComplete;
|
||||
typedef Upnp_Event UpnpEvent;
|
||||
@@ -74,8 +73,6 @@ static const char* UpnpEventSubscribe_get_SID_cstr( const UpnpEventSubscribe* p_
|
||||
{
|
||||
return p_s->Sid;
|
||||
}
|
||||
-#else
|
||||
-typedef const void* UpnpEventPtr;
|
||||
#endif
|
||||
|
||||
/*
|
||||
diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
|
||||
index 23fe4db9ab..c369a04da6 100644
|
||||
--- a/modules/services_discovery/upnp.hpp
|
||||
+++ b/modules/services_discovery/upnp.hpp
|
||||
@@ -33,6 +33,12 @@
|
||||
|
||||
#include <vlc_common.h>
|
||||
|
||||
+#if UPNP_VERSION < 10800
|
||||
+typedef void* UpnpEventPtr;
|
||||
+#else
|
||||
+typedef const void* UpnpEventPtr;
|
||||
+#endif
|
||||
+
|
||||
// Classes
|
||||
class Container;
|
||||
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -11,8 +11,6 @@ config BR2_PACKAGE_VLC
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
||||
# ARC toolchain issue
|
||||
depends on !BR2_arc
|
||||
select BR2_PACKAGE_LIBVORBIS if BR2_PACKAGE_OPUS
|
||||
select BR2_PACKAGE_VLC_OPENCV_BACKEND if BR2_PACKAGE_OPENCV
|
||||
select BR2_PACKAGE_VLC_OPENCV3_BACKEND if BR2_PACKAGE_OPENCV3
|
||||
@@ -36,6 +34,5 @@ config BR2_PACKAGE_VLC_OPENCV3_BACKEND
|
||||
|
||||
comment "vlc needs a toolchain w/ C++, dynamic library, wchar, threads, headers >= 3.7"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
VLC_VERSION = 2.2.8
|
||||
VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION)
|
||||
VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz
|
||||
VLC_LICENSE = GPLv2+, LGPLv2.1+
|
||||
VLC_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
VLC_LICENSE_FILES = COPYING COPYING.LIB
|
||||
VLC_DEPENDENCIES = host-pkgconf
|
||||
VLC_AUTORECONF = YES
|
||||
@@ -61,7 +61,7 @@ VLC_CONF_OPTS += \
|
||||
--disable-mfx \
|
||||
--disable-vdpau \
|
||||
--disable-addonmanagermodules \
|
||||
--enable-run-as-root \
|
||||
--enable-run-as-root
|
||||
|
||||
# Uses __atomic_fetch_add_4
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
@@ -281,9 +281,9 @@ else
|
||||
VLC_CONF_OPTS += --disable-theora
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUPNP),y)
|
||||
ifeq ($(BR2_PACKAGE_LIBUPNP)$(BR2_PACKAGE_LIBUPNP18),y)
|
||||
VLC_CONF_OPTS += --enable-upnp
|
||||
VLC_DEPENDENCIES += libupnp
|
||||
VLC_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-upnp
|
||||
endif
|
||||
@@ -359,9 +359,9 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_QT_GUI_MODULE),y)
|
||||
VLC_CONF_OPTS += --enable-qt
|
||||
VLC_CONF_ENV += \
|
||||
ac_cv_path_MOC=$(HOST_DIR)/usr/bin/moc \
|
||||
ac_cv_path_RCC=$(HOST_DIR)/usr/bin/rcc \
|
||||
ac_cv_path_UIC=$(HOST_DIR)/usr/bin/uic
|
||||
ac_cv_path_MOC=$(HOST_DIR)/bin/moc \
|
||||
ac_cv_path_RCC=$(HOST_DIR)/bin/rcc \
|
||||
ac_cv_path_UIC=$(HOST_DIR)/bin/uic
|
||||
VLC_DEPENDENCIES += qt
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-qt
|
||||
|
||||
Reference in New Issue
Block a user