Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
From a0a9fed68126eb24e04af924c0d46351ff5eeb0f Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Mon, 26 Jan 2015 09:55:04 -0300
|
||||
Subject: [PATCH] thread/Name: include stdio.h for prctl as well
|
||||
|
||||
We're still using snprintf so we need it, otherwise it leads to build
|
||||
failure.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
src/thread/Name.hxx | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/thread/Name.hxx b/src/thread/Name.hxx
|
||||
index a99208d..8f9d7d3 100644
|
||||
--- a/src/thread/Name.hxx
|
||||
+++ b/src/thread/Name.hxx
|
||||
@@ -25,6 +25,7 @@
|
||||
# include <pthread.h>
|
||||
#elif defined(HAVE_PRCTL)
|
||||
# include <sys/prctl.h>
|
||||
+# include <stdio.h>
|
||||
# ifdef PR_SET_NAME
|
||||
# define HAVE_THREAD_NAME
|
||||
# endif
|
||||
--
|
||||
2.6.4
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
menuconfig BR2_PACKAGE_MPD
|
||||
bool "mpd"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR # libglib2, flac
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|
||||
depends on BR2_USE_WCHAR # flac
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
# 0.19.x could be built with GCC 4.6, but for simplicity we require
|
||||
# the same toolchain dependencies for all versions.
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
||||
select BR2_PACKAGE_BOOST
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_MPD_TREMOR if !(BR2_PACKAGE_MPD_MAD || BR2_PACKAGE_MPD_MPG123 || BR2_PACKAGE_MPD_VORBIS || BR2_PACKAGE_MPD_WAVPACK || BR2_PACKAGE_MPD_FLAC || BR2_PACKAGE_MPD_MUSEPACK || BR2_PACKAGE_MPD_FFMPEG)
|
||||
help
|
||||
@@ -20,6 +21,24 @@ menuconfig BR2_PACKAGE_MPD
|
||||
|
||||
if BR2_PACKAGE_MPD
|
||||
|
||||
# Hidden config symbols to select the branch 0.20 by default and fallback
|
||||
# to branch 0.19 for toolchains affected by GCC bug PR 64735. This way we
|
||||
# keep support for mpd on some architectures, like ARMv5, until GCC 7 is
|
||||
# released, which will fix this issue.
|
||||
config BR2_PACKAGE_MPD_VERSION_STRING
|
||||
string
|
||||
default "0.20" if !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
default "0.19"
|
||||
|
||||
config BR2_PACKAGE_MPD_VERSION_0_20
|
||||
bool
|
||||
default y if BR2_PACKAGE_MPD_VERSION_STRING = "0.20"
|
||||
|
||||
config BR2_PACKAGE_MPD_VERSION_0_19
|
||||
bool
|
||||
default y if BR2_PACKAGE_MPD_VERSION_STRING = "0.19"
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
|
||||
comment "Archive plugins"
|
||||
|
||||
config BR2_PACKAGE_MPD_BZIP2
|
||||
@@ -315,8 +334,8 @@ config BR2_PACKAGE_MPD_UPNP
|
||||
|
||||
endif
|
||||
|
||||
comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.6"
|
||||
comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 487ec8ad2b1c1c193c2a7c8975a8b8fe2e4f0335bcc2e9356b2b34a0179fb2f7 mpd-0.19.17.tar.xz
|
||||
sha256 712b25351c12616630c580204e1c3dcba3ae2993a56cff1c346c87e334d69728 mpd-0.20.4.tar.xz
|
||||
sha256 8305b8bc026f4b6bde28b8dd09bfdddbe5590acf36358eed4d083a396e301730 mpd-0.19.21.tar.xz
|
||||
|
||||
@@ -4,15 +4,23 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MPD_VERSION_MAJOR = 0.19
|
||||
MPD_VERSION = $(MPD_VERSION_MAJOR).17
|
||||
MPD_VERSION_MAJOR = $(call qstrip,$(BR2_PACKAGE_MPD_VERSION_STRING))
|
||||
ifeq ($(BR2_PACKAGE_MPD_VERSION_0_20),y)
|
||||
MPD_VERSION = $(MPD_VERSION_MAJOR).4
|
||||
else
|
||||
MPD_VERSION = $(MPD_VERSION_MAJOR).21
|
||||
endif
|
||||
MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz
|
||||
MPD_SITE = http://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR)
|
||||
MPD_DEPENDENCIES = host-pkgconf boost libglib2
|
||||
MPD_DEPENDENCIES = host-pkgconf boost
|
||||
MPD_LICENSE = GPLv2+
|
||||
MPD_LICENSE_FILES = COPYING
|
||||
MPD_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_VERSION_0_19),y)
|
||||
MPD_DEPENDENCIES += libglib2
|
||||
endif
|
||||
|
||||
# Some options need an explicit --disable or --enable
|
||||
|
||||
# Zeroconf support depends on libdns_sd from avahi.
|
||||
@@ -222,7 +230,10 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_TREMOR),y)
|
||||
MPD_DEPENDENCIES += tremor
|
||||
MPD_CONF_OPTS += --with-tremor
|
||||
# Help mpd to find tremor in static linking scenarios
|
||||
MPD_CONF_ENV += \
|
||||
TREMOR_LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs vorbisidec`"
|
||||
MPD_CONF_OPTS += --with-tremor=$(STAGING_DIR)/usr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_TWOLAME),y)
|
||||
|
||||
Reference in New Issue
Block a user