pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/libXrender Tell configure that malloc(0) != NULL o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/74e509cb2175
branches: trunk
changeset: 531280:74e509cb2175
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jul 27 23:29:40 2007 +0000
description:
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
diffstat:
x11/libXrender/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 481685ccd6c4 -r 74e509cb2175 x11/libXrender/Makefile
--- a/x11/libXrender/Makefile Fri Jul 27 23:24:17 2007 +0000
+++ b/x11/libXrender/Makefile Fri Jul 27 23:29:40 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/11/03 21:18:51 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/07/27 23:29:40 joerg Exp $
#
DISTNAME= libXrender-0.9.2
@@ -20,6 +20,12 @@
PKGCONFIG_OVERRIDE+= xrender.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/renderproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index