summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild3
-rw-r--r--games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch10
2 files changed, 12 insertions, 1 deletions
diff --git a/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild b/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild
index 2885d6f78f0c..3acdebc8c4e8 100644
--- a/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild
+++ b/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild
@@ -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 )
diff --git a/games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch b/games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch
new file mode 100644
index 000000000000..967d51d7239d
--- /dev/null
+++ b/games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch
@@ -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
+
+