commit:     f02e8249af6d00a65f810f776ccc1ac0012f33ef
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon May  6 05:16:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  6 06:05:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02e8249

dev-games/libnw: fix Modern C porting error in vintage configure script

This is an especially vintage configure script. It was generated by
autoconf 2.13, and the tarball is dated 2003.

It failed pretty early on:
configure: error: installation or configuration problem: C compiler cannot 
create executables.

(There are still other modern C porting errors.)

Closes: https://bugs.gentoo.org/875065
Closes: https://bugs.gentoo.org/909546
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/libnw/libnw-1.30.02.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-games/libnw/libnw-1.30.02.ebuild 
b/dev-games/libnw/libnw-1.30.02.ebuild
index b64675c3fd0e..f040c741f587 100644
--- a/dev-games/libnw/libnw-1.30.02.ebuild
+++ b/dev-games/libnw/libnw-1.30.02.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit autotools toolchain-funcs
 
 DESCRIPTION="Tools and libraries for NWN file manipulation"
 HOMEPAGE="https://sourceforge.net/projects/openknights";
@@ -22,6 +22,7 @@ DOCS=( AUTHORS ChangeLog NEWS README README.tech TODO )
 
 src_prepare() {
        default
+       eautoreconf
 
        local f
        while IFS="" read -d $'\0' -r f; do

Reply via email to