net-analyzer/openbsd-netcat: build w/ -std=gnu99

Closes: https://bugs.gentoo.org/943711
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-12-09 01:03:43 +00:00
parent 3f91e3a7c4
commit 502d9fddee
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -47,7 +47,8 @@ src_prepare() {
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
# gnu99 for bug #943711
emake CC="$(tc-getCC) -std=gnu99" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {

View File

@@ -47,7 +47,8 @@ src_prepare() {
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" PKG_CONFIG="$(tc-getPKG_CONFIG)"
# gnu99 for bug #943711
emake CC="$(tc-getCC) -std=gnu99" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {