[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Fix freeorion build.
From: |
guix-commits |
Subject: |
01/01: gnu: Fix freeorion build. |
Date: |
Mon, 17 Jun 2019 11:38:01 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 7658904a34f0114ee5160be6ec4858fbec9dbe4c
Author: Nicolas Goaziou <address@hidden>
Date: Mon Jun 17 17:37:04 2019 +0200
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 eed4091..bf95bf7 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)