pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/libXvMC Annotate malloc(0) != NULL for NetBSD.
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd83a7e8d0aa
branches: trunk
changeset: 531789:dd83a7e8d0aa
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Aug 06 14:08:47 2007 +0000
description:
Annotate malloc(0) != NULL for NetBSD.
diffstat:
x11/libXvMC/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r e670a2113323 -r dd83a7e8d0aa x11/libXvMC/Makefile
--- a/x11/libXvMC/Makefile Mon Aug 06 14:05:21 2007 +0000
+++ b/x11/libXvMC/Makefile Mon Aug 06 14:08:47 2007 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index