summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-06 14:08:47 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-06 14:08:47 +0000
commit7c66438ecfdb544344a154c07ca17b26dc5711e6 (patch)
tree3b96975dddf25b3ae78f0d76f374167741cbeaf5
parentc27fcbe7f571faef00e7a74bff3b2f8696744919 (diff)
downloadpkgsrc-7c66438ecfdb544344a154c07ca17b26dc5711e6.tar.gz
Annotate malloc(0) != NULL for NetBSD.
-rw-r--r--x11/libXvMC/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/libXvMC/Makefile b/x11/libXvMC/Makefile
index 0736817176d..70355a5c4df 100644
--- a/x11/libXvMC/Makefile
+++ b/x11/libXvMC/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/14 09:56:50 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/08/06 14:08:47 joerg Exp $
#
DISTNAME= libXvMC-1.0.4
@@ -18,6 +18,12 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= xvmc.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"