1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

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
This commit is contained in:
Tobias C. Berner 2021-11-23 15:59:54 +01:00
parent 8a891db501
commit 2f6fd28d67

View File

@ -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