Date: Tue, 23 Nov 2021 15:02:39 GMT From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2f6fd28d6732 - main - multimedia/gavl: opt in to sched* functions Message-ID: <202111231502.1ANF2dSY079916@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f6fd28d6732051e10edf81dd0a3e93f7d9bb86b commit 2f6fd28d6732051e10edf81dd0a3e93f7d9bb86b Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2021-11-23 14:59:54 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2021-11-23 15:02:28 +0000 multimedia/gavl: opt in to sched* functions Make sched* functions available as required by https://cgit.freebsd.org/src/commit/?id=90fa9705d5cd29cf11c5dc7319299788dec2546a benchmark.c:1854:7: warning: implicit declaration of function 'sched_setaffinity' is invalid in C99 [-Wimplicit-function-declaration] if(!sched_setaffinity(0, sizeof(cpuset), &cpuset)) PR: 259787 --- multimedia/gavl/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/multimedia/gavl/Makefile b/multimedia/gavl/Makefile index 6dc12662b9d5..d330698881f4 100644 --- a/multimedia/gavl/Makefile +++ b/multimedia/gavl/Makefile @@ -18,6 +18,9 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cpuflags=none --without-doxygen INSTALL_TARGET= install-strip +# Opt-in to sched* functions +# https://cgit.freebsd.org/src/commit/?id=90fa9705d5cd29cf11c5dc7319299788dec2546a +CFLAGS+= -D_WITH_CPU_SET_T LIBS+= -lm PORTDOCS= README
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111231502.1ANF2dSY079916>