Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/crrcsim/files/, games-simulation/crrcsim/
Date: Tue, 04 Jan 2022 08:30:59
Message-Id: 1641284920.daae655c343abfc4e6da6c786fe2fa09804efd20.ionen@gentoo
1 commit: daae655c343abfc4e6da6c786fe2fa09804efd20
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 4 08:28:17 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 4 08:28:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daae655c
7
8 games-simulation/crrcsim: fix build with clang
9
10 Closes: https://bugs.gentoo.org/830572
11 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
12
13 games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild | 3 ++-
14 games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch | 10 ++++++++++
15 2 files changed, 12 insertions(+), 1 deletion(-)
16
17 diff --git a/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild b/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild
18 index 2885d6f78f0c..3acdebc8c4e8 100644
19 --- a/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild
20 +++ b/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 +# Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=8
27 @@ -29,6 +29,7 @@ DEPEND="
28 PATCHES=(
29 "${FILESDIR}"/${P}-gcc6.patch
30 "${FILESDIR}"/${P}-overlink.patch
31 + "${FILESDIR}"/${P}-clang.patch
32 )
33
34 DOCS=( AUTHORS HISTORY )
35
36 diff --git a/games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch b/games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch
37 new file mode 100644
38 index 000000000000..967d51d7239d
39 --- /dev/null
40 +++ b/games-simulation/crrcsim/files/crrcsim-0.9.13-clang.patch
41 @@ -0,0 +1,10 @@
42 +https://bugs.gentoo.org/830572
43 +--- a/src/mod_fdm_config.h
44 ++++ b/src/mod_fdm_config.h
45 +@@ -36,5 +36,5 @@
46 + #define MOD_FDM_USE_MCOPTER01 1
47 +
48 +-#define MOD_FDM_INFOSTR "CRRCSim "PACKAGE_VERSION
49 ++#define MOD_FDM_INFOSTR "CRRCSim " PACKAGE_VERSION
50 +
51 +