commit:     a4da4b4af030eac0ab3c1f1bcf1dc12483da42b1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 23:51:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb  7 23:51:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4da4b4a

sys-devel/dev86: build 0.16.21-r3 with -std=gnu89

And we'll try do better in the newer version.

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

 sys-devel/dev86/dev86-0.16.21-r3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-devel/dev86/dev86-0.16.21-r3.ebuild 
b/sys-devel/dev86/dev86-0.16.21-r3.ebuild
index e3784e658bfb..50d6ee7cf2ce 100644
--- a/sys-devel/dev86/dev86-0.16.21-r3.ebuild
+++ b/sys-devel/dev86/dev86-0.16.21-r3.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit toolchain-funcs
 
 DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
@@ -50,7 +51,7 @@ src_compile() {
 
        # First `make` is also a config, so set all the path vars here
        emake -j1 \
-               CC="$(tc-getCC)" \
+               CC="$(tc-getCC) -std=gnu89" \
                LIBDIR="/usr/$(get_libdir)/bcc" \
                INCLDIR="/usr/$(get_libdir)/bcc" \
                all

Reply via email to