From 1c598515cd1e969ca950107a6e01941f48e25c37 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 27 Feb 2017 08:29:05 +0200 Subject: gnu: fontconfig: Fix test-suite for freetype update. * gnu/packages/fontutils.scm (fontconfig)[arguments]: Add phase to fix the test-suite to have the input expected. --- gnu/packages/fontutils.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index ea324d3cd2..136b5bc992 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2014, 2015 Andreas Enge ;;; Copyright © 2014, 2016 Eric Bavier ;;; Copyright © 2016 Mark H Weaver -;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016, 2017 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -255,6 +255,11 @@ fonts to/from the WOFF2 format.") "PYTHON=false") #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-tests-for-freetype-2.7.1 + (lambda _ + (substitute* "test/run-test.sh" + (("\\\| sort") "| cut -d' ' -f2 | sort")) + #t)) (replace 'install (lambda _ ;; Don't try to create /var/cache/fontconfig. -- cgit v1.2.3