net-vpn/corkscrew: fix build w/ clang 22 (C23)

ANSI_FUNC already exist in corkscrew.c, so enable it.

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/2445
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu
2026-11-22 17:31:05 +00:00
committed by Sam James
parent 01fa2ba5d4
commit fed6d829d7
+5 -4
View File
@@ -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 <angelos@gentoo.org (23 Jun 2010)
# Shipped configure doesn't work with some locales (bug #305771)
# Shipped missing doesn't work with new configure, so we'll force