From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRMBx-00083v-9s for guix-patches@gnu.org; Mon, 26 Nov 2018 14:05:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRMBq-0008Qu-OY for guix-patches@gnu.org; Mon, 26 Nov 2018 14:05:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRMBq-0008Qp-Lc for guix-patches@gnu.org; Mon, 26 Nov 2018 14:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gRMBq-0007Jl-CM for guix-patches@gnu.org; Mon, 26 Nov 2018 14:05:02 -0500 Subject: [bug#33308] [PATCH v2 2/2] gnu: capnproto: Update to 0.7.0. Resent-Message-ID: From: Christopher Baines Date: Mon, 26 Nov 2018 19:04:33 +0000 Message-Id: <20181126190433.25295-2-mail@cbaines.net> In-Reply-To: <20181126190433.25295-1-mail@cbaines.net> References: <87va58hdt1.fsf@cbaines.net> <20181126190433.25295-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 33308@debbugs.gnu.org * gnu/packages/serialization.scm (capnproto): Update to 0.7.0. [arguments]: Add new 'use-tmp-for-tempory-files phase. --- gnu/packages/serialization.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 2df0ce1364..2d61f7451b 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -306,7 +306,7 @@ it a convenient format to store user input files.") (define-public capnproto (package (name "capnproto") - (version "0.6.1") + (version "0.7.0") (source (origin (method url-fetch) (uri (string-append @@ -314,7 +314,7 @@ it a convenient format to store user input files.") version ".tar.gz")) (sha256 (base32 - "010s9yhq4531wvdfrdf2477zswhck6cjfby79w73rff3v06090l0")))) + "0hfdnhlbskagzgvby8wy6lrxj53zfzpfqimbhga68c0ji2yw1969")))) (build-system gnu-build-system) (arguments `(#:phases @@ -324,6 +324,14 @@ it a convenient format to store user input files.") ;; Workaround for test that tries to resolve port name from ;; /etc/services, which is not present in build environment. (substitute* "src/kj/async-io-test.c++" ((":http") ":80")) + #t)) + (add-before 'check 'use-tmp-for-tempory-files + (lambda _ + ;; Use /tmp for tempory files, as the default /var/tmp directory + ;; doesn't exist. + (substitute* "src/kj/filesystem-disk-test.c++" + (("VAR\\_TMP \"/var/tmp\"") + "VAR_TMP \"/tmp\"")) #t))))) (home-page "https://capnproto.org") (synopsis "Capability-based RPC and serialization system") -- 2.19.2