From fed6d829d7f3e44e6a4214fa77c28243ea2eeb66 Mon Sep 17 00:00:00 2001 From: "Z. Liu" Date: Wed, 18 Nov 2026 00:34:38 +0800 Subject: [PATCH] net-vpn/corkscrew: fix build w/ clang 22 (C23) ANSI_FUNC already exist in corkscrew.c, so enable it. Signed-off-by: Z. Liu Part-of: https://codeberg.org/gentoo/gentoo/pulls/2445 Signed-off-by: Sam James --- net-vpn/corkscrew/corkscrew-2.0-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net-vpn/corkscrew/corkscrew-2.0-r1.ebuild b/net-vpn/corkscrew/corkscrew-2.0-r1.ebuild index b006657d8fe11..5b781a60c48bc 100644 --- a/net-vpn/corkscrew/corkscrew-2.0-r1.ebuild +++ b/net-vpn/corkscrew/corkscrew-2.0-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -inherit autotools +EAPI=8 +inherit autotools flag-o-matic DESCRIPTION="a tool for tunneling SSH through HTTP proxies" HOMEPAGE="https://github.com/patpadgett/corkscrew/" @@ -13,7 +13,6 @@ SRC_URI="http://www.agroman.net/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm ~ppc ~riscv ~sparc x86" -IUSE="" DOCS="AUTHORS ChangeLog README TODO" @@ -21,6 +20,8 @@ src_prepare() { # Fix \r\n per bug 652342 eapply "${FILESDIR}/${P}-crlf-with-authfile.patch" + append-cppflags -DANSI_FUNC + # Christoph Mende