1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-24 01:51:51 +02:00

gnu: unknown-horizons: Fix build and runtime errors.

Apply two upstream commits that allow building with Python 3.9 or newer and
running with Python 3.10.

* gnu/packages/patches/unknown-horizons-python-3.9.patch: New file.
* gnu/packages/patches/unknown-horizons-python-3.10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/games.scm (unknown-horizons)[source]: Apply them.

Change-Id: Icbc8b698b913be01465b09ab26afb29e5fd62a87
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Fixes: Unknown Horizons fails to start <https://bugs.gnu.org/54815>
This commit is contained in:
Simon South
2024-01-04 15:33:56 -05:00
committed by Liliana Marie Prikler
parent e7823dbe8c
commit 3351c5e59d
4 changed files with 78 additions and 1 deletions
+3 -1
View File
@@ -4454,7 +4454,9 @@ also available.")
(sha256
(base32
"1n747p7h0qp48szgp262swg0xh8kxy1bw8ag1qczs4i26hyzs5x4"))
(patches (search-patches "unknown-horizons-python-3.8-distro.patch"))))
(patches (search-patches "unknown-horizons-python-3.8-distro.patch"
"unknown-horizons-python-3.9.patch"
"unknown-horizons-python-3.10.patch"))))
(build-system python-build-system)
(arguments
'(#:phases