From 7658904a34f0114ee5160be6ec4858fbec9dbe4c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 17 Jun 2019 17:37:04 +0200 Subject: [PATCH] gnu: Fix freeorion build. * gnu/packages/games.scm (freeorion)[arguments]: Fix font unbundling. --- gnu/packages/games.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index eed409135b..bf95bf735d 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7492,9 +7492,9 @@ win.") (let ((roboto-dir (string-append (assoc-ref inputs "font-roboto") "/share/fonts/truetype/"))) (substitute* "UI/ClientUI.cpp" - (("\\(GetRootDataDir.*?\"Roboto-(Bold|Regular)\\.ttf\"\\)\\.string\\(\\)\\);" + (("\\(GetRootDataDir.*?Roboto-(Bold|Regular)\\.ttf\"\\)\\.string\\(\\)\\);" all type) - (string-append "\"" roboto-dir "Roboto-" type "\");"))) + (string-append "\"" roboto-dir "Roboto-" type ".ttf\");"))) #t)))))) (inputs `(("boost" ,boost)