From b6c2805c0b6d9d237c52f9e0cc779fb7af548b93 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 7 Oct 2018 18:31:26 +0200 Subject: [PATCH] gnu: hyperrogue: Fix FTBFS with GCC7. * gnu/packages/games.scm (hyperrogue)[arguments]: Remove redundant #:make-flags. Preserve original CPATH when adding SDL path. --- gnu/packages/games.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 5d7c89a880..f46da6cff4 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3635,7 +3635,8 @@ throwing people around in pseudo-randomly generated buildings.") (add-after 'set-paths 'set-sdl-paths (lambda* (#:key inputs #:allow-other-keys) (setenv "CPATH" - (string-append (assoc-ref inputs "sdl-union") + (string-append (getenv "CPATH") ":" + (assoc-ref inputs "sdl-union") "/include/SDL")))) (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys)