$OpenBSD: patch-third-party_apply_patches,v 1.1 2021/11/02 12:47:09 sthen Exp $

Index: third-party/apply_patches
--- third-party/apply_patches.orig
+++ third-party/apply_patches
@@ -27,7 +27,7 @@ fi
 
 for patchfile in "$patchdir"/*.patch ; do
 	[ -z $quiet ] && echo "Applying patch $(basename $patchfile)"
-	${PATCH} -d "$sourcedir" -p1 -s -i "$patchfile" || exit 1
+	${PATCH} -d "$sourcedir" -z.orig.ast -p1 -s -i "$patchfile" || exit 1
 done
 
 exit 0
