1999-02-02 07:29:00 +00:00
|
|
|
--- config/install.sh.orig Wed Aug 5 13:43:43 1998
|
2000-01-28 06:36:13 +00:00
|
|
|
+++ config/install.sh Sat Jan 29 20:46:09 2000
|
|
|
|
@@ -181,6 +181,18 @@
|
1999-02-02 07:29:00 +00:00
|
|
|
if [ "$?" != "0" ]; then
|
|
|
|
exit $?
|
1999-02-02 04:00:12 +00:00
|
|
|
fi
|
|
|
|
+# we need to patch just before build
|
2000-01-28 06:36:13 +00:00
|
|
|
+echo "applying source patches"
|
2000-10-07 22:28:28 +00:00
|
|
|
+patch_file="${FILESDIR}/extra-patch-global-names"
|
1999-02-02 04:00:12 +00:00
|
|
|
+if [ -f $patch_file ]; then
|
|
|
|
+ $PATCH $PATCH_ARGS < $patch_file
|
2000-01-28 06:36:13 +00:00
|
|
|
+fi
|
|
|
|
+if grep -w FPE_INTDIV /usr/include/machine/trap.h > /dev/null 2>&1; then
|
2000-10-07 22:28:28 +00:00
|
|
|
+ patch_file="${FILESDIR}/extra-patch-signals"
|
2000-01-28 06:36:13 +00:00
|
|
|
+ if [ -f $patch_file ]; then
|
|
|
|
+ $PATCH $PATCH_ARGS < $patch_file
|
|
|
|
+ fi
|
1999-02-02 04:00:12 +00:00
|
|
|
+fi
|
1999-02-02 07:29:00 +00:00
|
|
|
if [ ! -x $RUNDIR/run.$ARCH-$OPSYS ]; then
|
|
|
|
cd $SRCDIR/runtime/objs
|
|
|
|
echo "compiling the run-time system"
|