aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sml-nj-devel/files/patch-ab
blob: d8af8af38993d498caa4476eed90f25a67740078 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- config/install.sh.orig  Wed Aug  5 13:43:43 1998
+++ config/install.sh   Sat Jan 29 20:46:09 2000
@@ -181,6 +181,18 @@
 if [ "$?" != "0" ]; then
   exit $?
 fi
+# we need to patch just before build
+echo "applying source patches"
+patch_file="${FILESDIR}/patch-global-names"
+if [ -f $patch_file ]; then
+   $PATCH $PATCH_ARGS < $patch_file
+fi
+if grep -w FPE_INTDIV /usr/include/machine/trap.h > /dev/null 2>&1; then
+   patch_file="${FILESDIR}/patch-signals"
+   if [ -f $patch_file ]; then
+       $PATCH $PATCH_ARGS < $patch_file
+   fi
+fi
 if [ ! -x $RUNDIR/run.$ARCH-$OPSYS ]; then
   cd $SRCDIR/runtime/objs
   echo "compiling the run-time system"