aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-10-24 01:49:27 -0400
committerLeo Famulari <leo@famulari.name>2016-10-24 16:19:25 -0400
commit469142805925e4cdaf8bb6969cd3f101666fa745 (patch)
treea8c305bf5e3137063af7d4588886923738baa396
parentef73acd30de925d4e4af86f694c0a4db93023d46 (diff)
downloadpatches-469142805925e4cdaf8bb6969cd3f101666fa745.tar
patches-469142805925e4cdaf8bb6969cd3f101666fa745.tar.gz
gnu: twolame: Make the test suite compatible with Perl 5.24.
* gnu/packages/audio.scm (twolame)[source]: Add snippet to fix test.
-rw-r--r--gnu/packages/audio.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index db32b6f1ae..8ec8330b57 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2134,7 +2134,15 @@ 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
+ ;; TODO: Remove this snippet when upgrading twolame.
+ (snippet
+ '(begin
+ (substitute* "tests/test.pl" (("\\(@_\\)") "($_[0])"))
+ #t))))
(build-system gnu-build-system)
(inputs
`(("libsndfile" ,libsndfile)))