summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz>2000-05-20 02:19:31 +0000
committerwiz <wiz>2000-05-20 02:19:31 +0000
commit8b8db6cc6aa1411536ded4eb23607e3d08434bdd (patch)
treeff184d244c80d7aaba75633077d8751b096249da /lang
parentcec1f3b9067c50379d842bce2824422193d5d765 (diff)
downloadpkgsrc-8b8db6cc6aa1411536ded4eb23607e3d08434bdd.tar.gz
Add a patch that should make it compile on m68k.
Addresses pkg/9964.
Diffstat (limited to 'lang')
-rw-r--r--lang/hugs/files/patch-sum3
-rw-r--r--lang/hugs/patches/patch-ab17
2 files changed, 19 insertions, 1 deletions
diff --git a/lang/hugs/files/patch-sum b/lang/hugs/files/patch-sum
index e3357374c93..6ac83858b84 100644
--- a/lang/hugs/files/patch-sum
+++ b/lang/hugs/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.2 1999/12/08 09:44:32 rh Exp $
+$NetBSD: patch-sum,v 1.3 2000/05/20 02:19:31 wiz Exp $
MD5 (patch-aa) = 90cea2611ef7cb003e70d3ed8e40baf9
+MD5 (patch-ab) = eafd859d3bda4d066460029082d2539b
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 */