summaryrefslogtreecommitdiff
path: root/lang/squeak
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2001-08-24 00:30:26 +0000
committermjl <mjl@pkgsrc.org>2001-08-24 00:30:26 +0000
commite8ab83e6ffb4bb2e435b8339c8cb38484a10b35e (patch)
tree8b3bdfc2e5ba2946ffcfba7cd778672778ae3fc2 /lang/squeak
parent37aa0c1b40bfbcfb1464af55b0a4133516f3ac58 (diff)
downloadpkgsrc-e8ab83e6ffb4bb2e435b8339c8cb38484a10b35e.tar.gz
Make this compile on ppc.
Diffstat (limited to 'lang/squeak')
-rw-r--r--lang/squeak/patches/patch-ba13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/squeak/patches/patch-ba b/lang/squeak/patches/patch-ba
new file mode 100644
index 00000000000..e1e973cc350
--- /dev/null
+++ b/lang/squeak/patches/patch-ba
@@ -0,0 +1,13 @@
+$NetBSD: patch-ba,v 1.1 2001/08/24 00:30:26 mjl Exp $
+
+--- src/unix/sqGnu.h.orig Fri Aug 24 02:24:08 2001
++++ src/unix/sqGnu.h Fri Aug 24 02:24:24 2001
+@@ -174,7 +174,7 @@
+ # define SP_REG asm("%edi")
+ # define CB_REG /* asm("%ebx") ; avoid undue register pressure */
+ #endif
+-#if defined(PPC) || defined(_POWER) || defined(_IBMR2)
++#if defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined(__powerpc__)
+ # define IP_REG asm("26")
+ # define SP_REG asm("27")
+ # define CB_REG asm("28")