freeciv: Move allow-root.patch listing to version specific recipes

To allow different freeciv branches to use different
versions of the patch.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
Marko Lindqvist
2022-10-24 18:53:18 +03:00
parent e1ea826fcf
commit b879a4eccf
3 changed files with 2 additions and 4 deletions

View File

@@ -15,10 +15,6 @@ FREECIV_GUI = "gtk3.22,qt,sdl2"
DEPENDS = "readline bzip2 curl xz libsdl2-mixer gtk+3 qtbase virtual/gettext qttools-native libsdl2-image libsdl2-ttf libsdl2-gfx freetype"
SRC_URI = "\
file://allow-root.patch \
"
S = "${WORKDIR}/freeciv-${PV}"
B = "${WORKDIR}/build-${PV}"

View File

@@ -3,6 +3,7 @@ require freeciv-qt5.inc
SRC_URI += "\
${SOURCEFORGE_MIRROR}/freeciv/freeciv-${PV}.tar.bz2 \
file://allow-root.patch \
file://dummy-qtver-S2_6.patch \
"

View File

@@ -3,6 +3,7 @@ require freeciv-qt5.inc
SRC_URI += "\
${SOURCEFORGE_MIRROR}/freeciv/freeciv-${PV}.tar.xz \
file://allow-root.patch \
file://dummy-qtver.patch \
"