commit:     80d25f0b73c2a1a6615400d295933eaf86166893
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 02:32:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 02:59:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d25f0b

games-simulation/lincity: fix configure w/ clang 16

Closes: https://bugs.gentoo.org/899020
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{lincity-1.13.1-r3.ebuild => lincity-1.13.1-r4.ebuild}    | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/games-simulation/lincity/lincity-1.13.1-r3.ebuild 
b/games-simulation/lincity/lincity-1.13.1-r4.ebuild
similarity index 88%
rename from games-simulation/lincity/lincity-1.13.1-r3.ebuild
rename to games-simulation/lincity/lincity-1.13.1-r4.ebuild
index c80cf4adcb21..29d3d9a64773 100644
--- a/games-simulation/lincity/lincity-1.13.1-r3.ebuild
+++ b/games-simulation/lincity/lincity-1.13.1-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit desktop
+inherit autotools desktop
 
 DESCRIPTION="City simulation game for X"
 HOMEPAGE="http://lincity.sourceforge.net/";
@@ -30,6 +30,13 @@ PATCHES=(
        
"${FILESDIR}"/${P}-Fix-prototypes-and-implicit-function-declarations.patch
 )
 
+src_prepare() {
+       default
+
+       # Clang 16, bug #899020
+       eautoreconf
+}
+
 src_configure() {
        local econfargs=(
                --with-gzip

Reply via email to