commit: a81cbf29d7d7ee0e9103c83a905f395172f33e8d Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat Oct 15 19:49:38 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Oct 15 20:06:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81cbf29
games-mud/circlemud: fix configure w/ upcoming clang16 Closes: https://bugs.gentoo.org/874453 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> games-mud/circlemud/circlemud-3.1-r2.ebuild | 6 +++++- games-mud/circlemud/files/circlemud-3.1-clang16.patch | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/games-mud/circlemud/circlemud-3.1-r2.ebuild b/games-mud/circlemud/circlemud-3.1-r2.ebuild index a3c460a6db4c..7edb7395187d 100644 --- a/games-mud/circlemud/circlemud-3.1-r2.ebuild +++ b/games-mud/circlemud/circlemud-3.1-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 @@ -21,6 +21,10 @@ RDEPEND=" acct-group/gamestat " +PATCHES=( + "${FILESDIR}"/${P}-clang16.patch +) + src_prepare() { default diff --git a/games-mud/circlemud/files/circlemud-3.1-clang16.patch b/games-mud/circlemud/files/circlemud-3.1-clang16.patch new file mode 100644 index 000000000000..e0e233442572 --- /dev/null +++ b/games-mud/circlemud/files/circlemud-3.1-clang16.patch @@ -0,0 +1,10 @@ +cnf/ files did not play well with eautoreconf + +https://bugs.gentoo.org/874453 +--- a/configure ++++ b/configure +@@ -698,3 +698,3 @@ + +-main(){return(0);} ++int main(void){return(0);} + EOF
