=> Checksum BLAKE2s OK for xsoldier-1.8.tar.gz
=> Checksum SHA512 OK for xsoldier-1.8.tar.gz
===> Installing dependencies for xsoldier-1.8
==========================================================================
The following variables will affect the build process of this package,
xsoldier-1.8.  Their current value is shown below:

        * VARBASE = /var

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency user-darwin>=20130712: found user-darwin-20170116
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
===> Overriding tools for xsoldier-1.8
===> Extracting for xsoldier-1.8
===> Patching for xsoldier-1.8
=> Applying pkgsrc patches for xsoldier-1.8
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/xsoldier/patches/patch-main.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/xsoldier/patches/patch-main.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-main.c,v 1.1 2015/10/06 22:10:02 leot Exp $
|
|"wait.h" is no longer used and available.
|
|--- main.c.orig	2006-09-16 09:20:54.000000000 +0000
|+++ main.c
--------------------------
Patching file main.c using Plan A...
Hunk #1 succeeded at 33.
done
===> Creating toolchain wrappers for xsoldier-1.8
===> Configuring for xsoldier-1.8
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Fixing locale directory references.
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gawk... (cached) /opt/pkg/bin/nawk
checking for aarch64-apple-darwin23-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -E
checking whether ln -s works... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether clang needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for atexit... yes
checking for memset... yes
checking for strrchr... yes
checking for rand... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands