pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/libXScrnSaver Tell configure that malloc(0) != NUL...
details: https://anonhg.NetBSD.org/pkgsrc/rev/854e0aa3a17b
branches: trunk
changeset: 531272:854e0aa3a17b
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jul 27 20:39:11 2007 +0000
description:
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
diffstat:
x11/libXScrnSaver/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 168ce2764aff -r 854e0aa3a17b x11/libXScrnSaver/Makefile
--- a/x11/libXScrnSaver/Makefile Fri Jul 27 20:05:24 2007 +0000
+++ b/x11/libXScrnSaver/Makefile Fri Jul 27 20:39:11 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/12/27 12:23:15 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/07/27 20:39:11 joerg Exp $
#
DISTNAME= libXScrnSaver-1.1.2
@@ -19,6 +19,12 @@
PKGCONFIG_OVERRIDE+= xscrnsaver.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/scrnsaverproto/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index