summaryrefslogtreecommitdiff
path: root/x11
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
commit5b97db5e5696dc317c7fa78bbb7f724852003eaf (patch)
tree3b96975dddf25b3ae78f0d76f374167741cbeaf5 /x11
parent528bfb5e37be52db44016dc74a88a5ddc2a098a8 (diff)
downloadpkgsrc-5b97db5e5696dc317c7fa78bbb7f724852003eaf.tar.gz
Annotate malloc(0) != NULL for NetBSD.
Diffstat (limited to 'x11')
-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"