x11/{libXScrnSaver,libXrender}: configure --disable-malloc0returnsnull

Otherwise these can't be cross-compiled.
This commit is contained in:
riastradh 2023-06-27 10:29:39 +00:00
parent 04465f491c
commit 788d1f4263
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2022/12/05 08:52:03 wiz Exp $
# $NetBSD: Makefile,v 1.19 2023/06/27 10:29:39 riastradh Exp $
DISTNAME= libXScrnSaver-1.2.4
CATEGORIES= x11
@ -13,6 +13,8 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
PKGCONFIG_OVERRIDE+= xscrnsaver.pc.in
X11_LIB_NAME?= libXScrnSaver

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2022/11/09 13:14:22 joerg Exp $
# $NetBSD: Makefile,v 1.19 2023/06/27 10:29:40 riastradh Exp $
DISTNAME= libXrender-0.9.11
CATEGORIES= x11 devel
@ -16,6 +16,8 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull
PKGCONFIG_OVERRIDE+= xrender.pc.in
.include "../../meta-pkgs/modular-xorg/hacks.mk"