aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libva/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-03-11 12:51:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-03-11 12:51:56 +0000
commit88fce9020b3018bb54665a80739f60921f933fd7 (patch)
tree4ba8309a8b21a8913013504cb4910546d74052f1 /multimedia/libva/Makefile
parentc97fe5c631ddad5817cfd8b9f41a6f35bcf5f8b3 (diff)
downloadports-88fce9020b3018bb54665a80739f60921f933fd7.tar.gz
ports-88fce9020b3018bb54665a80739f60921f933fd7.zip
Notes
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