x11: More --disable-malloc0returnsnull on NetBSD for cross-builds.

Unclear why so many things care to know in advance whether malloc(0)
returns null!
This commit is contained in:
riastradh 2023-06-27 10:42:38 +00:00
parent 5625f637f9
commit 2849574cc7
4 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2022/11/09 13:14:20 joerg Exp $
# $NetBSD: Makefile,v 1.25 2023/06/27 10:42:38 riastradh Exp $
DISTNAME= libFS-1.0.9
CATEGORIES= x11 devel
@ -15,6 +15,8 @@ USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= libfs.pc.in
CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
X11_LIB_NAME?= libFS
.include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"
.include "../../meta-pkgs/modular-xorg/hacks.mk"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2022/12/05 08:50:26 wiz Exp $
# $NetBSD: Makefile,v 1.20 2023/06/27 10:42:38 riastradh Exp $
DISTNAME= libXres-1.2.2
CATEGORIES= x11
@ -15,6 +15,8 @@ USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= xres.pc.in
CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
X11_LIB_NAME?= libXres
.include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"
.include "../../meta-pkgs/modular-xorg/hacks.mk"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2022/12/05 08:53:14 wiz Exp $
# $NetBSD: Makefile,v 1.23 2023/06/27 10:42:38 riastradh Exp $
DISTNAME= libXv-1.0.12
CATEGORIES= x11
@ -14,6 +14,8 @@ PKGCONFIG_OVERRIDE+= xv.pc.in
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
X11_LIB_NAME?= libXv
.include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"
.include "../../meta-pkgs/modular-xorg/hacks.mk"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2022/12/05 08:54:21 wiz Exp $
# $NetBSD: Makefile,v 1.20 2023/06/27 10:42:38 riastradh Exp $
DISTNAME= libXxf86dga-1.1.6
CATEGORIES= x11
@ -13,6 +13,8 @@ USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xxf86dga.pc.in