diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-01-04 03:28:17 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-01-04 03:28:40 -0500 |
commit | daae655c343abfc4e6da6c786fe2fa09804efd20 (patch) | |
tree | e3d128cd8110328ab002348377d4e24430dce95c | |
parent | media-gfx/plantuml: metadata, remote-id (diff) | |
download | gentoo-daae655c343abfc4e6da6c786fe2fa09804efd20.tar.gz gentoo-daae655c343abfc4e6da6c786fe2fa09804efd20.tar.bz2 gentoo-daae655c343abfc4e6da6c786fe2fa09804efd20.zip |
games-simulation/crrcsim: fix build with clang
Closes: https://bugs.gentoo.org/830572
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild | 3 | ||||
-rw-r--r-- | games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch | 10 |
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 + + |