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