pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/libXv Tell configure that malloc(0) != NULL on Net...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9d842bb5994f
branches: trunk
changeset: 531297:9d842bb5994f
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Jul 28 00:48:10 2007 +0000
description:
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
diffstat:
x11/libXv/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 9da96eda21f2 -r 9d842bb5994f x11/libXv/Makefile
--- a/x11/libXv/Makefile Sat Jul 28 00:47:48 2007 +0000
+++ b/x11/libXv/Makefile Sat Jul 28 00:48:10 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/01/23 13:44:08 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/28 00:48:10 joerg Exp $
#
DISTNAME= libXv-1.0.3
@@ -18,6 +18,12 @@
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
+.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/videoproto/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index