aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libva/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libva/Makefile')
-rw-r--r--multimedia/libva/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile
index 9a997fb41c1d..50da94f59dbd 100644
--- a/multimedia/libva/Makefile
+++ b/multimedia/libva/Makefile
@@ -36,6 +36,11 @@ CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES
.include <bsd.port.pre.mk>
+# add strnlen(3) from head/lib/libc/string/strnlen.c
+.if ${OSVERSION} < 800067
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-va-va_trace.c
+.endif
+
.if !defined(WITH_DEBUG)
CFLAGS+= -DNDEBUG
.else