summaryrefslogtreecommitdiff
path: root/lang/smalleiffel/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/smalleiffel/patches/patch-ad')
-rw-r--r--lang/smalleiffel/patches/patch-ad25
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/smalleiffel/patches/patch-ad b/lang/smalleiffel/patches/patch-ad
new file mode 100644
index 00000000000..e2ae28c6fb0
--- /dev/null
+++ b/lang/smalleiffel/patches/patch-ad
@@ -0,0 +1,25 @@
+$NetBSD: patch-ad,v 1.1 2000/02/21 21:23:35 jlam Exp $
+
+--- misc/GC.SH.orig Sat Feb 12 04:14:52 2000
++++ misc/GC.SH Mon Feb 21 13:24:28 2000
+@@ -48,6 +48,20 @@
+ elif [ `uname` = AIX ]
+ then
+ gc=aix.c
++elif [ `uname` = NetBSD ]
++ then
++ arch=`sysctl -n hw.machine_arch`
++ if [ ${arch} = i386 ]; then
++ gc=freebsd.c
++ elif [ ${arch} = alpha ]; then
++ gc=alpha.c
++ elif [ ${arch} = m68k ]; then
++ gc=m68k.c
++ elif [ ${arch} = sparc ]; then
++ gc=sparc.c
++ else
++ gc=generic.c
++ fi
+ else
+ echo GC is not supported for this architecture.
+ echo Read file ${SE}/sys/gc to try to fix this.