mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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 )
|
||||
|
||||
10
games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch
Normal file
10
games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user