summaryrefslogtreecommitdiff
path: root/lang/hugs/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-05-20 02:19:31 +0000
committerwiz <wiz@pkgsrc.org>2000-05-20 02:19:31 +0000
commitb4cc47ee4570722690cc4b3c848505848f5ea3db (patch)
treeff184d244c80d7aaba75633077d8751b096249da /lang/hugs/patches
parenteeec128064a2140482d8eb5c37011c494f2f7e3f (diff)
downloadpkgsrc-b4cc47ee4570722690cc4b3c848505848f5ea3db.tar.gz
Add a patch that should make it compile on m68k.
Addresses pkg/9964.
Diffstat (limited to 'lang/hugs/patches')
-rw-r--r--lang/hugs/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/hugs/patches/patch-ab b/lang/hugs/patches/patch-ab
new file mode 100644
index 00000000000..d24d06c7c31
--- /dev/null
+++ b/lang/hugs/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2000/05/20 02:19:32 wiz Exp $
+
+--- prelude.h.orig Thu May 27 23:29:25 1999
++++ prelude.h Sat May 20 04:06:55 2000
+@@ -566,10 +566,12 @@
+ * eval, print loop
+ */
+
++#ifndef __NetBSD__
+ #ifdef m68k /* global registers on an m68k */
+ #define GLOBALfst asm("a4")
+ #define GLOBALsnd asm("a5")
+ #define GLOBALsp asm("a3")
++#endif
+ #endif
+
+ #ifdef sparc /* global registers on a sparc */