From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do8Bc-0004mR-F4 for guix-patches@gnu.org; Sat, 02 Sep 2017 09:10:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do8BX-0005bu-Io for guix-patches@gnu.org; Sat, 02 Sep 2017 09:10:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1do8BX-0005bn-F0 for guix-patches@gnu.org; Sat, 02 Sep 2017 09:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1do8BX-0002Ow-7R for guix-patches@gnu.org; Sat, 02 Sep 2017 09:10:03 -0400 Subject: [bug#28330] [PATCH staging 2/2] gnu: boost: Update to 1.65.0. Resent-Message-ID: From: Marius Bakke Date: Sat, 2 Sep 2017 15:09:47 +0200 Message-Id: <20170902130947.28372-2-mbakke@fastmail.com> In-Reply-To: <20170902130947.28372-1-mbakke@fastmail.com> References: <20170902130947.28372-1-mbakke@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28330@debbugs.gnu.org * gnu/packages/boost.scm (%boost-1.65.0-context.patch, %boost-1.65.0-fiber.patch): New variables. (boost): Update to 1.65.0. [source](patches): New field. --- gnu/packages/boost.scm | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index 4c7308e9d..c0ae8dd19 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -33,19 +33,41 @@ #:use-module (gnu packages python) #:use-module (gnu packages shells)) +;; Boost provides some fixes for problems found by library maintainers +;; after the release. See "known issues" at +;; +(define %boost-1.65.0-context.patch + (origin + (method url-fetch) + (uri (string-append "http://www.boost.org/patches/1_65_0/0001-context-" + "function-executed-by-resume_with-has-to-retu.patch")) + (file-name "boost-1.65.0-context.patch") + (sha256 + (base32 "12vha10dsyx8m29m1d3np0xh0a2vrqapjd6ha746nqv78zi1nlgd")))) + +(define %boost-1.65.0-fiber.patch + (origin + (method url-fetch) + (uri (string-append "http://www.boost.org/patches/1_65_0/0002-fiber-resume_" + "with-requires-tor-return-a-continuation.patch")) + (file-name "boost-1.65.0-fiber.patch") + (sha256 + (base32 "05hb1qwzj5y2cyhvdkw4vdg412gkzillrkmsdz470hb3p0jgpjhv")))) + (define-public boost (package (name "boost") - (version "1.64.0") + (version "1.65.0") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/boost/boost/" version "/boost_" (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version) ".tar.bz2")) + (patches (list %boost-1.65.0-context.patch %boost-1.65.0-fiber.patch)) (sha256 (base32 - "0cikd35xfkpg9nnl76yqqnqxnf3hyfjjww8xjd4akflprsm5rk3v")))) + "0b4hz6rciqw7nf49yar271pbfwv94vrk2sjn5af0gyz288kp29pa")))) (build-system gnu-build-system) (inputs `(("icu4c" ,icu4c) ("zlib" ,zlib))) -- 2.14.1