commit:     c99f8fc0fe8eb2bd38f949910252ddef0375af3c
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  6 19:11:26 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 19:14:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99f8fc0

net-misc/sslh: Don't add -std=gnu99 to CFLAGS

Closes: https://bugs.gentoo.org/945979
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-misc/sslh/{sslh-9999.ebuild => sslh-2.1.2-r1.ebuild} | 7 -------
 net-misc/sslh/sslh-9999.ebuild                           | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/net-misc/sslh/sslh-9999.ebuild b/net-misc/sslh/sslh-2.1.2-r1.ebuild
similarity index 85%
copy from net-misc/sslh/sslh-9999.ebuild
copy to net-misc/sslh/sslh-2.1.2-r1.ebuild
index efb4eb40c48d..453e5f7b10ac 100644
--- a/net-misc/sslh/sslh-9999.ebuild
+++ b/net-misc/sslh/sslh-2.1.2-r1.ebuild
@@ -43,13 +43,6 @@ src_prepare() {
 src_compile() {
        append-lfs-flags
 
-       # On older versions of GCC, the default gnu89 variant
-       # will reject within-for-loop initializers, bug #595426
-       # Furthermore, we need to use the gnu variant (gnu99) instead
-       # of the ISO (c99) variant, as we want the __USE_XOPEN2K macro
-       # to be defined.
-       append-cflags -std=gnu99
-
        emake \
                CC="$(tc-getCC)" \
                USELIBCAP=$(usev caps) \

diff --git a/net-misc/sslh/sslh-9999.ebuild b/net-misc/sslh/sslh-9999.ebuild
index efb4eb40c48d..453e5f7b10ac 100644
--- a/net-misc/sslh/sslh-9999.ebuild
+++ b/net-misc/sslh/sslh-9999.ebuild
@@ -43,13 +43,6 @@ src_prepare() {
 src_compile() {
        append-lfs-flags
 
-       # On older versions of GCC, the default gnu89 variant
-       # will reject within-for-loop initializers, bug #595426
-       # Furthermore, we need to use the gnu variant (gnu99) instead
-       # of the ISO (c99) variant, as we want the __USE_XOPEN2K macro
-       # to be defined.
-       append-cflags -std=gnu99
-
        emake \
                CC="$(tc-getCC)" \
                USELIBCAP=$(usev caps) \

Reply via email to