summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-08-25 04:58:49 +0200
committerAndreas Enge <andreas@enge.fr>2025-09-18 12:08:28 +0200
commit3a64c0352b89c267631aeca7743cc812a17ff6f6 (patch)
tree77f2efe209c1717735ab745a2ce5ac765b61b143
parent592e637b37c4a7dac7b9498177ae6cf96900cb0c (diff)
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>
-rw-r--r--gnu/packages/geo.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index f17113bf7df..959c7e2dd68 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -4126,8 +4126,19 @@ time. Interactively visualize vector, raster and volume data.")
4126 #:configure-flags #~(list "-DSAMPLE_MAP=FALSE") 4126 #:configure-flags #~(list "-DSAMPLE_MAP=FALSE")
4127 #:phases 4127 #:phases
4128 #~(modify-phases %standard-phases 4128 #~(modify-phases %standard-phases
4129 ;; Workaround for the following issue:
4130 ;; https://github.com/navit-gps/navit/issues/1294 which results in
4131 ;; 'error:navit:navit_init:FATAL: No GUI available.' For now there
4132 ;; is only a workaround and no real fix yet.
4129 (add-after 4133 (add-after
4130 'unpack 'patch-navit-config 4134 'unpack 'patch-cmake_minimum_required
4135 (lambda _
4136 (substitute*
4137 "CMakeLists.txt"
4138 (("cmake_minimum_required\\(VERSION 3\\.10\\)")
4139 "cmake_minimum_required(VERSION 3.2)"))))
4140 (add-after
4141 'patch-cmake_minimum_required 'patch-navit-config
4131 (lambda _ 4142 (lambda _
4132 ;; For now this package only supports SDL, so if we keep 4143 ;; For now this package only supports SDL, so if we keep
4133 ;; the configuration as-is, Navit doesn't start. 4144 ;; the configuration as-is, Navit doesn't start.