=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Installing dependencies for rdigest-20211023
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for rdigest-20211023
===> Extracting for rdigest-20211023
/bin/rm -f /scratch/work/pkgtools/rdigest/work/libnbcompat/config.guess /scratch/work/pkgtools/rdigest/work/libnbcompat/config.sub
/bin/ln -fs /tree/pkgsrc/mk/gnu-config/config.guess /scratch/work/pkgtools/rdigest/work/libnbcompat/config.guess
/bin/ln -fs /tree/pkgsrc/mk/gnu-config/config.sub /scratch/work/pkgtools/rdigest/work/libnbcompat/config.sub
===> Patching for rdigest-20211023
=> Applying pkgsrc patches for rdigest-20211023
=> Verifying /tree/pkgsrc/pkgtools/rdigest/patches/patch-aa
=> Applying pkgsrc patch /tree/pkgsrc/pkgtools/rdigest/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2007/07/09 15:19:15 joerg Exp $
|
|--- Makefile.in.orig	2007-07-07 17:26:43.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 58 (offset 2 lines).
Hunk #2 succeeded at 76 (offset 2 lines).
done
=> Verifying /tree/pkgsrc/pkgtools/rdigest/patches/patch-ab
=> Applying pkgsrc patch /tree/pkgsrc/pkgtools/rdigest/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.6 2016/03/31 17:06:18 agc Exp $
|
|Patch digest man page for rdigest functionality
|
|--- digest.1.orig	2016-03-31 09:37:14.729218330 -0700
|+++ digest.1	2016-03-31 09:40:35.110066257 -0700
--------------------------
Patching file digest.1 using Plan A...
Hunk #1 failed at 24.
Hunk #2 succeeded at 47.
Hunk #3 succeeded at 126 (offset 8 lines).
Hunk #4 succeeded at 159 (offset 8 lines).
1 out of 4 hunks failed--saving rejects to digest.1.rej
done
Patch /tree/pkgsrc/pkgtools/rdigest/patches/patch-ab failed
=> Verifying /tree/pkgsrc/pkgtools/rdigest/patches/patch-ac
=> Applying pkgsrc patch /tree/pkgsrc/pkgtools/rdigest/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.6 2016/03/31 17:06:18 agc Exp $
|
|patch digest program to recurse through directories
|
|--- digest.c.orig	2016-03-31 09:37:14.729643239 -0700
|+++ digest.c	2016-03-31 10:02:46.312679447 -0700
--------------------------
Patching file digest.c using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 179 (offset 8 lines).
Hunk #3 succeeded at 353 (offset 8 lines).
Hunk #4 succeeded at 387 (offset 8 lines).
done
ERROR: Patching failed due to modified or broken patch file(s):
ERROR: 	/tree/pkgsrc/pkgtools/rdigest/patches/patch-ab
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/pkgtools/rdigest
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/pkgtools/rdigest