freeciv: Drop deprecated dummy-qtver.patch

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
Marko Lindqvist
2024-07-28 01:33:20 +03:00
parent 9c60ad069d
commit c38431ebe8

View File

@@ -1,20 +0,0 @@
diff --git a/configure.ac b/configure.ac
index d26b8fdf28..8daa054344 100644
--- a/configure.ac
+++ b/configure.ac
@@ -612,6 +612,15 @@ PKG_CHECK_MODULES([ICU], [icu-uc],,
UTILITY_CFLAGS="${UTILITY_CFLAGS} ${ICU_CFLAGS}"
UTILITY_LIBS="${UTILITY_LIBS} ${ICU_LIBS}"
+dnl Dummy configure option for OpenEmbedded build of older branches
+dnl to avoid unrecognised option error
+AC_ARG_WITH([qtver],
+ AS_HELP_STRING([--with-qtver], [which Qt version to build against [qt5]]),
+[case "${withval}" in
+ qt5|Qt5) ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --with-qtver]) ;;
+esac])
+
dnl Set debug flags supported by compiler
EXTRA_DEBUG_CFLAGS=""
EXTRA_DEBUG_CXXFLAGS=""