mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: navit: Fix program execution.
* gnu/packages/geo.scm (navit)[arguments]<#:phases>
{patch-cmake_minimum_required}: New phase.
Change-Id: I91a6ef08565cbdf91e9985d581d9dfd475a0ebb2
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
committed by
Andreas Enge
parent
592e637b37
commit
3a64c0352b
@@ -4126,8 +4126,19 @@ time. Interactively visualize vector, raster and volume data.")
|
|||||||
#:configure-flags #~(list "-DSAMPLE_MAP=FALSE")
|
#:configure-flags #~(list "-DSAMPLE_MAP=FALSE")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
;; Workaround for the following issue:
|
||||||
|
;; https://github.com/navit-gps/navit/issues/1294 which results in
|
||||||
|
;; 'error:navit:navit_init:FATAL: No GUI available.' For now there
|
||||||
|
;; is only a workaround and no real fix yet.
|
||||||
(add-after
|
(add-after
|
||||||
'unpack 'patch-navit-config
|
'unpack 'patch-cmake_minimum_required
|
||||||
|
(lambda _
|
||||||
|
(substitute*
|
||||||
|
"CMakeLists.txt"
|
||||||
|
(("cmake_minimum_required\\(VERSION 3\\.10\\)")
|
||||||
|
"cmake_minimum_required(VERSION 3.2)"))))
|
||||||
|
(add-after
|
||||||
|
'patch-cmake_minimum_required 'patch-navit-config
|
||||||
(lambda _
|
(lambda _
|
||||||
;; For now this package only supports SDL, so if we keep
|
;; For now this package only supports SDL, so if we keep
|
||||||
;; the configuration as-is, Navit doesn't start.
|
;; the configuration as-is, Navit doesn't start.
|
||||||
|
|||||||
Reference in New Issue
Block a user