From patchwork Fri Mar 25 17:50:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 602083 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 3qWrSN1dNyz9s8d for ; Sat, 26 Mar 2016 04:50:43 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=zacarias.com.ar header.i=@zacarias.com.ar header.b=i6paU96H; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 72F92957AB; Fri, 25 Mar 2016 17:50:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WOBtKznFiB2G; Fri, 25 Mar 2016 17:50:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 68A2A957AF; Fri, 25 Mar 2016 17:50:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0E3DC1C16AF for ; Fri, 25 Mar 2016 17:50:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0980091B20 for ; Fri, 25 Mar 2016 17:50:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dJ1HtbpLcS95 for ; Fri, 25 Mar 2016 17:50:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [176.9.42.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8C97B91B1F for ; Fri, 25 Mar 2016 17:50:37 +0000 (UTC) Received: from asgard (cpe-186-22-138-122.telecentro-reversos.com.ar [186.22.138.122] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.15.1/8.15.1) with ESMTPSA id u2PHoUva028980 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 25 Mar 2016 17:50:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1458928235; bh=44z3JtyyQIp+Xl6GwdUr53x2fqhLX89/txkB/ZVXGNU=; h=From:To:Cc:Subject:Date; b=i6paU96HkAxLQ+6DtuKAAAbLbElg1FuMk3/U143GfMuG8me+HCHjedbw3/yd81h3M sN9ckyXXftPdYpZfFKx+pjhQx7Tf/ISiTZt3OHP95cVGc1V9Qm1XyK9NsZPkgEeHu+ MzabGviM0QoWj+BRSp4txr3Bb2ku/RzdjCpUXnk4= Received: by asgard (sSMTP sendmail emulation); Fri, 25 Mar 2016 14:50:30 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Fri, 25 Mar 2016 14:50:30 -0300 Message-Id: <1458928230-10295-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.7.3 X-Virus-Scanned: clamav-milter 0.98.7 at www X-Virus-Status: Clean Subject: [Buildroot] [PATCH] mpd: bump to version 0.19.14 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 0003-thread-Posix-Mutex-Cond-use-constexpr-only-with-glib.patch is upstream so remove it. Signed-off-by: Gustavo Zacarias --- ...onfigure.ac-check-if-libatomic-is-needed.patch} | 0 ...x-Mutex-Cond-use-constexpr-only-with-glib.patch | 97 ---------------------- package/mpd/mpd.hash | 2 +- package/mpd/mpd.mk | 2 +- 4 files changed, 2 insertions(+), 99 deletions(-) rename package/mpd/{0005-configure.ac-check-if-libatomic-is-needed.patch => 0003-configure.ac-check-if-libatomic-is-needed.patch} (100%) delete mode 100644 package/mpd/0003-thread-Posix-Mutex-Cond-use-constexpr-only-with-glib.patch diff --git a/package/mpd/0005-configure.ac-check-if-libatomic-is-needed.patch b/package/mpd/0003-configure.ac-check-if-libatomic-is-needed.patch similarity index 100% rename from package/mpd/0005-configure.ac-check-if-libatomic-is-needed.patch rename to package/mpd/0003-configure.ac-check-if-libatomic-is-needed.patch diff --git a/package/mpd/0003-thread-Posix-Mutex-Cond-use-constexpr-only-with-glib.patch b/package/mpd/0003-thread-Posix-Mutex-Cond-use-constexpr-only-with-glib.patch deleted file mode 100644 index 26fd7f6..0000000 --- a/package/mpd/0003-thread-Posix-Mutex-Cond-use-constexpr-only-with-glib.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 42a5f0c4435757505bd515b68c2a27e8f7565f34 Mon Sep 17 00:00:00 2001 -From: Max Kellermann -Date: Tue, 25 Aug 2015 12:46:12 +0200 -Subject: [PATCH] thread/Posix{Mutex,Cond}: use "constexpr" only with glibc - -Apparently all other C libraries are not compatible with "constexpr". -Those which are not will get a performance penalty, but at least they -work at all. - -[Thomas: taken from upstream commit 75dff6445063d9b49cca126fd661c9abbd680977.] -Signed-off-by: Thomas Petazzoni ---- - src/thread/PosixCond.hxx | 16 ++++++++-------- - src/thread/PosixMutex.hxx | 16 ++++++++-------- - 2 files changed, 16 insertions(+), 16 deletions(-) - -diff --git a/src/thread/PosixCond.hxx b/src/thread/PosixCond.hxx -index b3fe204..73dbe02 100644 ---- a/src/thread/PosixCond.hxx -+++ b/src/thread/PosixCond.hxx -@@ -1,5 +1,5 @@ - /* -- * Copyright (C) 2009-2013 Max Kellermann -+ * Copyright (C) 2009-2015 Max Kellermann - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions -@@ -41,9 +41,13 @@ class PosixCond { - pthread_cond_t cond; - - public: --#if defined(__NetBSD__) || defined(__BIONIC__) -- /* NetBSD's PTHREAD_COND_INITIALIZER is not compatible with -- "constexpr" */ -+#ifdef __GLIBC__ -+ /* optimized constexpr constructor for pthread implementations -+ that support it */ -+ constexpr PosixCond():cond(PTHREAD_COND_INITIALIZER) {} -+#else -+ /* slow fallback for pthread implementations that are not -+ compatible with "constexpr" */ - PosixCond() { - pthread_cond_init(&cond, nullptr); - } -@@ -51,10 +55,6 @@ public: - ~PosixCond() { - pthread_cond_destroy(&cond); - } --#else -- /* optimized constexpr constructor for sane POSIX -- implementations */ -- constexpr PosixCond():cond(PTHREAD_COND_INITIALIZER) {} - #endif - - PosixCond(const PosixCond &other) = delete; -diff --git a/src/thread/PosixMutex.hxx b/src/thread/PosixMutex.hxx -index 5805158..e0fd614 100644 ---- a/src/thread/PosixMutex.hxx -+++ b/src/thread/PosixMutex.hxx -@@ -1,5 +1,5 @@ - /* -- * Copyright (C) 2009-2013 Max Kellermann -+ * Copyright (C) 2009-2015 Max Kellermann - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions -@@ -41,9 +41,13 @@ class PosixMutex { - pthread_mutex_t mutex; - - public: --#if defined(__NetBSD__) || defined(__BIONIC__) -- /* NetBSD's PTHREAD_MUTEX_INITIALIZER is not compatible with -- "constexpr" */ -+#ifdef __GLIBC__ -+ /* optimized constexpr constructor for pthread implementations -+ that support it */ -+ constexpr PosixMutex():mutex(PTHREAD_MUTEX_INITIALIZER) {} -+#else -+ /* slow fallback for pthread implementations that are not -+ compatible with "constexpr" */ - PosixMutex() { - pthread_mutex_init(&mutex, nullptr); - } -@@ -51,10 +55,6 @@ public: - ~PosixMutex() { - pthread_mutex_destroy(&mutex); - } --#else -- /* optimized constexpr constructor for sane POSIX -- implementations */ -- constexpr PosixMutex():mutex(PTHREAD_MUTEX_INITIALIZER) {} - #endif - - PosixMutex(const PosixMutex &other) = delete; --- -2.6.4 - diff --git a/package/mpd/mpd.hash b/package/mpd/mpd.hash index 85c99be..e47cefd 100644 --- a/package/mpd/mpd.hash +++ b/package/mpd/mpd.hash @@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 f1014838fa7ab2d5fe2ef7f4c101d58fdec2c4c13cfbd2462ee146c8e4919a55 mpd-0.19.13.tar.xz +sha256 2fd23805132e5002a4d24930001a7c7d3aaf55e3bd0cd71af5385895160e99e7 mpd-0.19.14.tar.xz diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index 170a27f..9a1c957 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -5,7 +5,7 @@ ################################################################################ MPD_VERSION_MAJOR = 0.19 -MPD_VERSION = $(MPD_VERSION_MAJOR).13 +MPD_VERSION = $(MPD_VERSION_MAJOR).14 MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz MPD_SITE = http://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR) MPD_DEPENDENCIES = host-pkgconf boost libglib2