community/dante: fix build with gcc 14

This commit is contained in:
Jingyun Hua 2024-09-13 01:19:34 +00:00 committed by Celeste
parent 6695b1bcfa
commit 1fcf27a052

View File

@ -2,7 +2,7 @@
# Maintainer: Paul Kilar <pkilar@gmail.com> # Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=dante pkgname=dante
pkgver=1.4.3 pkgver=1.4.3
pkgrel=3 pkgrel=4
pkgdesc="Dante is SOCKS server and a SOCKS client" pkgdesc="Dante is SOCKS server and a SOCKS client"
url="https://www.inet.no/dante/" url="https://www.inet.no/dante/"
arch="all" arch="all"
@ -24,6 +24,7 @@ prepare() {
} }
build() { build() {
CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
ac_cv_func_sched_setscheduler=no ./configure --prefix=/usr ac_cv_func_sched_setscheduler=no ./configure --prefix=/usr
make make