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@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-05-06 07:05:25 +01:00
committed by Sam James
parent 07d7ae55b2
commit f02e8249af
+2 -1
View File
@@ -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