+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-sameboy-0.15.8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-sameboy-0.15.8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sameboy-0.15.8.tar.gz
=> Checksum SHA512 OK for sameboy-0.15.8.tar.gz
===> Installing dependencies for libretro-sameboy-0.15.8
=> Tool dependency rgbds>=0.5.0: found rgbds-0.5.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for libretro-sameboy-0.15.8
===> Extracting for libretro-sameboy-0.15.8
===> Patching for libretro-sameboy-0.15.8
=> Applying pkgsrc patches for libretro-sameboy-0.15.8
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-sameboy/../../emulators/sameboy/patches/patch-Core_gb.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-sameboy/../../emulators/sameboy/patches/patch-Core_gb.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Core_gb.c,v 1.1 2021/08/10 12:20:41 nia Exp $
|
|Fix building with memcpy defined as a macro (FORTIFY_SOURCE/SSP).
|
|--- Core/gb.c.orig	2021-08-01 13:19:40.000000000 +0000
|+++ Core/gb.c
--------------------------
Patching file Core/gb.c using Plan A...
Hunk #1 succeeded at 340 (offset 33 lines).
Hunk #2 succeeded at 354 (offset 33 lines).
done
===> Creating toolchain wrappers for libretro-sameboy-0.15.8
===> Configuring for libretro-sameboy-0.15.8
=> Checking for portability problems in extracted files