[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/1] gnu: twolame: Fix test failure with Perl 5.24.
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 |
* 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
- [PATCH 1/1] gnu: twolame: Fix test failure with Perl 5.24.,
Leo Famulari <=