summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-15 15:49:38 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-15 16:06:47 -0400
commita81cbf29d7d7ee0e9103c83a905f395172f33e8d (patch)
tree5e50200da7a0ea000fd7220462b7aa74be3c23be /games-mud
parentgames-puzzle/galaxis: add gitlab uptream metadata (diff)
downloadgentoo-a81cbf29d7d7ee0e9103c83a905f395172f33e8d.tar.gz
gentoo-a81cbf29d7d7ee0e9103c83a905f395172f33e8d.tar.bz2
gentoo-a81cbf29d7d7ee0e9103c83a905f395172f33e8d.zip
games-mud/circlemud: fix configure w/ upcoming clang16
Closes: https://bugs.gentoo.org/874453 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/circlemud/circlemud-3.1-r2.ebuild6
-rw-r--r--games-mud/circlemud/files/circlemud-3.1-clang16.patch10
2 files changed, 15 insertions, 1 deletions
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