games-simulation/crrcsim: fix build with clang

Closes: https://bugs.gentoo.org/830572
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-01-04 03:28:17 -05:00
parent e36768139b
commit daae655c34
2 changed files with 12 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,6 +29,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${P}-gcc6.patch
"${FILESDIR}"/${P}-overlink.patch
"${FILESDIR}"/${P}-clang.patch
)
DOCS=( AUTHORS HISTORY )

View File

@@ -0,0 +1,10 @@
https://bugs.gentoo.org/830572
--- a/src/mod_fdm_config.h
+++ b/src/mod_fdm_config.h
@@ -36,5 +36,5 @@
#define MOD_FDM_USE_MCOPTER01 1
-#define MOD_FDM_INFOSTR "CRRCSim "PACKAGE_VERSION
+#define MOD_FDM_INFOSTR "CRRCSim " PACKAGE_VERSION