$NetBSD: patch-ab,v 1.3 2002/07/04 20:24:42 wiz Exp $

--- config/install.sh.orig	Sun Jan 27 19:18:03 2002
+++ config/install.sh
@@ -531,6 +531,12 @@
 # build the run-time system
 #
 unpack "run-time" $SRCDIR runtime runtime
+# we need to patch just before build
+patch_file="${FILESDIR}/patch-global-names"
+if [ -f $patch_file ]; then
+	echo "applying source patches"
+	$PATCH $PATCH_ARGS < $patch_file
+fi
 if [ -x $RUNDIR/run.$ARCH-$OPSYS ]; then
     echo $this: Run-time system already exists.
 else
