pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11 Wire down malloc(0) != NULL for more Xorg packages...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d056231af48
branches:  trunk
changeset: 530642:2d056231af48
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 03 13:35:49 2007 +0000

description:
Wire down malloc(0) != NULL for more Xorg packages on NetBSD.

diffstat:

 x11/libX11/Makefile  |  8 +++++++-
 x11/libXext/Makefile |  8 +++++++-
 x11/libXt/Makefile   |  8 +++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (66 lines):

diff -r 8e2a9be741f7 -r 2d056231af48 x11/libX11/Makefile
--- a/x11/libX11/Makefile       Tue Jul 03 13:33:55 2007 +0000
+++ b/x11/libX11/Makefile       Tue Jul 03 13:35:49 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/04/03 20:28:38 drochner Exp $
+# $NetBSD: Makefile,v 1.5 2007/07/03 13:35:49 joerg Exp $
 #
 
 DISTNAME=              libX11-1.1.1
@@ -24,6 +24,12 @@
 CONFIGURE_ARGS+=       --without-xcb
 PKGCONFIG_OVERRIDE+=   x11.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+=       --disable-malloc0returnsnull
+.endif
+
 .include "../../x11/bigreqsproto/buildlink3.mk"
 .include "../../x11/inputproto/buildlink3.mk"
 .include "../../x11/kbproto/buildlink3.mk"
diff -r 8e2a9be741f7 -r 2d056231af48 x11/libXext/Makefile
--- a/x11/libXext/Makefile      Tue Jul 03 13:33:55 2007 +0000
+++ b/x11/libXext/Makefile      Tue Jul 03 13:35:49 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/02/26 14:58:17 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/03 13:35:49 joerg Exp $
 #
 
 DISTNAME=              libXext-1.0.3
@@ -19,6 +19,12 @@
 
 PKGCONFIG_OVERRIDE+=   xext.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+=       --disable-malloc0returnsnull
+.endif
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"
 .include "../../x11/xproto/buildlink3.mk"
diff -r 8e2a9be741f7 -r 2d056231af48 x11/libXt/Makefile
--- a/x11/libXt/Makefile        Tue Jul 03 13:33:55 2007 +0000
+++ b/x11/libXt/Makefile        Tue Jul 03 13:35:49 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/02/26 15:06:37 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2007/07/03 13:35:49 joerg Exp $
 #
 
 DISTNAME=              libXt-1.0.5
@@ -21,6 +21,12 @@
 CONFIGURE_ENV+=                APP_MAN_SUFFIX=1 LIB_MAN_SUFFIX=3
 PKGCONFIG_OVERRIDE+=   xt.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+=       --disable-malloc0returnsnull
+.endif
+
 .include "../../x11/libSM/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/kbproto/buildlink3.mk"



Home | Main Index | Thread Index | Old Index