freeciv: Fix Quality Assurance error

Backport a patch that changes examples in the documentation
not to match build system home directories.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
Marko Lindqvist
2026-08-27 14:28:45 +03:00
parent 919aabb345
commit b2680f299e
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
From 9c4cc96e176e9fc7049a7f44be1efcf36df3fd9a Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Thu, 27 Aug 2026 14:20:09 +0300
Subject: [PATCH 36/36] INSTALL.meson: Replace /home/cazfi with /home/user in
examples
See RM #2175
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Upstream-Status: Backport
---
doc/INSTALL.meson | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/INSTALL.meson b/doc/INSTALL.meson
index 670a914dea..ba4ab8e666 100644
--- a/doc/INSTALL.meson
+++ b/doc/INSTALL.meson
@@ -98,15 +98,15 @@ Configure options:
Configure options are given as '-D<option>=<value>'.
For example to set freeciv installation prefix as
-'/home/cazfi/freeciv-install':
+'/home/user/freeciv-install':
-> meson setup ../src -Dprefix=/home/cazfi/freeciv-install
+> meson setup ../src -Dprefix=/home/user/freeciv-install
You can give configure options when you first set up the build directory
(like in example above), or you can change configure options for the
build directory later by 'meson configure' subcommand like this:
-> meson configure -Dprefix=/home/cazfi/freeciv-install
+> meson configure -Dprefix=/home/user/freeciv-install
You get full list of configure options by running 'meson configure'
subcommand without any configure options to set
--
2.53.0

View File

@@ -6,6 +6,7 @@ DEPENDS += "lua"
SRC_URI += "\
${SOURCEFORGE_MIRROR}/freeciv/freeciv-${PV}.tar.xz \
file://allow-root-S3_2.patch \
file://0036-INSTALL.meson-Replace-home-cazfi-with-home-user-in-e.patch \
"
SRC_URI[sha256sum] = "d32808f02a9b9f49ef159bcbf266b16ce2a3ce6ea8f71115d80f952c3cc609e8"