From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 1/1] gnu: twolame: Fix test failure with Perl 5.24. Date: Mon, 24 Oct 2016 01:53:36 -0400 Message-ID: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byYCs-0002dz-Oh for guix-devel@gnu.org; Mon, 24 Oct 2016 01:53:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byYCo-0003zA-QF for guix-devel@gnu.org; Mon, 24 Oct 2016 01:53:58 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45195) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byYCo-0003z1-K8 for guix-devel@gnu.org; Mon, 24 Oct 2016 01:53:54 -0400 Received: from localhost.localdomain (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 9AFE8CC0B9 for ; Mon, 24 Oct 2016 01:53:50 -0400 (EDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/audio.scm (twolame)[source]: Add snippet to fix test. --- gnu/packages/audio.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index db32b6f..5a2cf09 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2134,7 +2134,14 @@ conversion. It may be used, for example, to resample PCM-encoded audio.") (uri (string-append "mirror://sourceforge/twolame/twolame/" version "/twolame-" version ".tar.gz")) (sha256 - (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq")))) + (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq")) + (modules '((guix build utils))) + ;; The tests break with Perl 5.24: + ;; https://github.com/njh/twolame/issues/21 + (snippet + '(begin + (substitute* "tests/test.pl" (("\\(@_\\)") "($_[0])")) + #t)))) (build-system gnu-build-system) (inputs `(("libsndfile" ,libsndfile))) -- 2.10.1