pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11 Tell configure that malloc(0) != NULL on NetBSD un...
details: https://anonhg.NetBSD.org/pkgsrc/rev/55596b73b4c6
branches: trunk
changeset: 531282:55596b73b4c6
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jul 27 23:42:56 2007 +0000
description:
Tell configure that malloc(0) != NULL on NetBSD unless running out of
memory.
diffstat:
x11/libXi/Makefile | 8 +++++++-
x11/libXinerama/Makefile | 8 +++++++-
x11/libXxf86dga/Makefile | 8 +++++++-
x11/libXxf86misc/Makefile | 8 +++++++-
4 files changed, 28 insertions(+), 4 deletions(-)
diffs (88 lines):
diff -r eb8bab1c469a -r 55596b73b4c6 x11/libXi/Makefile
--- a/x11/libXi/Makefile Fri Jul 27 23:42:17 2007 +0000
+++ b/x11/libXi/Makefile Fri Jul 27 23:42:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/07/12 17:11:57 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2007/07/27 23:42:56 joerg Exp $
#
DISTNAME= libXi-1.1.1
@@ -20,6 +20,12 @@
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xi.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/inputproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
diff -r eb8bab1c469a -r 55596b73b4c6 x11/libXinerama/Makefile
--- a/x11/libXinerama/Makefile Fri Jul 27 23:42:17 2007 +0000
+++ b/x11/libXinerama/Makefile Fri Jul 27 23:42:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/17 17:54:14 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/27 23:44:00 joerg Exp $
DISTNAME= libXinerama-1.0.2
CATEGORIES= x11
@@ -19,6 +19,12 @@
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xinerama.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/xextproto/buildlink3.mk"
diff -r eb8bab1c469a -r 55596b73b4c6 x11/libXxf86dga/Makefile
--- a/x11/libXxf86dga/Makefile Fri Jul 27 23:42:17 2007 +0000
+++ b/x11/libXxf86dga/Makefile Fri Jul 27 23:42:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/19 09:39:11 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/27 23:47:48 joerg Exp $
#
DISTNAME= libXxf86dga-1.0.1
@@ -20,6 +20,12 @@
PKGCONFIG_OVERRIDE+= xxf86dga.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/xextproto/buildlink3.mk"
diff -r eb8bab1c469a -r 55596b73b4c6 x11/libXxf86misc/Makefile
--- a/x11/libXxf86misc/Makefile Fri Jul 27 23:42:17 2007 +0000
+++ b/x11/libXxf86misc/Makefile Fri Jul 27 23:42:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/11/14 14:58:54 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/07/27 23:49:59 joerg Exp $
#
DISTNAME= libXxf86misc-1.0.1
@@ -19,6 +19,12 @@
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --disable-malloc0returnsnull
+.endif
+
.include "../../x11/xproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index