GNU bug report logs - #33633
[PATCH] gnu: Add a C++14 variant of Boost for packages that need it.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Leo Famulari <leo@HIDDEN>; Keywords: patch; dated Wed, 5 Dec 2018 19:30:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Dec 2018 19:29:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 05 14:29:06 2018
Received: from localhost ([127.0.0.1]:34565 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gUcr3-0007Hh-Uc
	for submit <at> debbugs.gnu.org; Wed, 05 Dec 2018 14:29:06 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46293)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1gUcr2-0007HD-EJ
 for submit <at> debbugs.gnu.org; Wed, 05 Dec 2018 14:29:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1gUcqw-0007Wp-CE
 for submit <at> debbugs.gnu.org; Wed, 05 Dec 2018 14:28:59 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47211)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1gUcqw-0007Wc-8Y
 for submit <at> debbugs.gnu.org; Wed, 05 Dec 2018 14:28:58 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55889)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1gUcqv-0000jG-D8
 for guix-patches@HIDDEN; Wed, 05 Dec 2018 14:28:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1gUcqp-0007Sn-Kv
 for guix-patches@HIDDEN; Wed, 05 Dec 2018 14:28:56 -0500
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48219)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1gUcqo-0007S3-JN
 for guix-patches@HIDDEN; Wed, 05 Dec 2018 14:28:51 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 30A7222219;
 Wed,  5 Dec 2018 14:28:50 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Wed, 05 Dec 2018 14:28:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding; s=mesmtp; bh=cNNFu/1gsONI8R7yp7s61DK
 tV44oXMJ6fn7NxLJiPXk=; b=thqhJun548/QLX2PNoCaciS2gSXEpR1yrjaLS+Z
 L0SeG0sKK2MGb5czISxZWzvSZanrDh7XnfnZk8o9BPPim2ch6tJl8ItpqUSFPwoa
 qvctP8/K5UCaipP5ZfDeu9puKERt72L2DkJ0y+6U2sukwLDjiztsQWCRtbJRYHJL
 Z7to=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:date:from
 :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=cNNFu/1gsONI8R7yp
 7s61DKtV44oXMJ6fn7NxLJiPXk=; b=HeTJkfBrq7RTy6dOmNi8a6D742po+dqMx
 nYL8+wVW7VQSVQOqbQ3rFXM456tPhb3mg1CO4XUi/WA8OPFudRUjc1qy83tBlC8g
 tAoW0c84DIRJnT5vQkbxCCFGG9XWB/gPYBvXeQSeDs+rr6Ka3fxy3g25uVBxjoZc
 aOs44vcPCB8IepO+c96PPbH3+WbtWApzVdrJFIJoqaEefFKEAf0LLt9YTLmsDvGe
 AL1La5hUSWAzcgVmmO609HWcDnH2g/hHKTmiNoF9kO2EpQyXSTZpWVpatgYXT5wx
 oFGRAQzJ3bph9DgeF90dTXyxPUSVYSkPy9vwuYO/Tm0tYP334+i2A==
X-ME-Sender: <xms:8SYIXDEA8Fn02_QLv8g1tVF55-FPjg6JQkAZf5o82ehfjhNnQntjzg>
X-ME-Proxy: <xmx:8SYIXGoFphWGa_U6MCq1emu1FhLV0iesbhA-tVmMdPgUUWqBhEo49Q>
 <xmx:8SYIXMf-lJ06WaPVA0h1qcMhXwMIknhTWKHyFOtzsFa5QvVlnmTeQw>
 <xmx:8SYIXBlv7X96zVGKE_AEFP2seoj42vMLbBqcvZ-6bF2IdVciD4AQLQ>
 <xmx:8SYIXN9sDtqYoGs7-jNfzRdEJtdvNusm4FxLfRBdJwo4zI6VFf5f6g>
 <xmx:8SYIXKtt-_QZ8zUMITc4K6veVU-9afzN5RPMo-82AU5sGVArX49lrA>
 <xmx:8iYIXLW17HqMZ2xGwD0wd_tgwSf-GAcekIPgWIqf0hMxx3VeJKcF5w>
Received: from jasmine.lan (c-76-124-202-137.hsd1.pa.comcast.net
 [76.124.202.137])
 by mail.messagingengine.com (Postfix) with ESMTPA id 78B69E484A
 for <guix-patches@HIDDEN>; Wed,  5 Dec 2018 14:28:49 -0500 (EST)
From: Leo Famulari <leo@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add a C++14 variant of Boost for packages that need it.
Date: Wed,  5 Dec 2018 14:28:45 -0500
Message-Id: <1f508bd63c902536a3cc8bab67e215364f69a8a7.1544038125.git.leo@HIDDEN>
X-Mailer: git-send-email 2.19.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

Fixes <https://bugs.gnu.org/33605> and <https://bugs.gnu.org/33610>.

* gnu/packages/boost.scm (boost-cxx14): New variable.
* gnu/packages/compression.scm (innoextract)[inputs]: Use it.
* gnu/packages/mpd.scm (ncmpcpp)[inputs]: Use it.
---
 gnu/packages/boost.scm       | 9 +++++++++
 gnu/packages/compression.scm | 2 +-
 gnu/packages/mpd.scm         | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index b772781f5..07dce749d 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -122,6 +122,15 @@ across a broad spectrum of applications.")
     (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt"
                                 "Some components have other similar licences."))))
 
+(define-public boost-cxx14
+  (package (inherit boost)
+    (arguments
+      (substitute-keyword-arguments (package-arguments boost)
+        ((#:make-flags flags)
+         `(append ,flags
+                  '("cxxflags=-std=c++14")))))
+    (properties '((hidden? . #t)))))
+
 (define-public boost-for-mysql
   ;; Older version for MySQL 5.7.23.
   (package
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 32b92a976..e8a50c676 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2263,7 +2263,7 @@ single-member files which can't be decompressed in parallel.")
    (build-system cmake-build-system)
    (arguments
     `(#:tests? #f)) ;; No tests available.
-   (inputs `(("boost" ,boost)
+   (inputs `(("boost" ,boost-cxx14)
              ("libiconv" ,libiconv)
              ("xz" ,xz)))
    (native-inputs `(("pkg-config" ,pkg-config)))
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index fe8610ab9..0a81a3b8b 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -244,7 +244,7 @@ terminal using ncurses.")
                 "0m0mjb049sl62vx13h9waavysa30mk0rphacksnvf94n13la62v5"))))
     (build-system gnu-build-system)
     (inputs `(("libmpdclient" ,libmpdclient)
-              ("boost"  ,boost)
+              ("boost"  ,boost-cxx14)
               ("readline" ,readline)
               ("ncurses" ,ncurses)
               ("taglib" ,taglib)
-- 
2.19.2





Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#33633; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 5 Dec 2018 19:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.