summaryrefslogtreecommitdiff
path: root/lang/clisp/patches/patch-ag
blob: 788019f9d1302506c2cc9da28eee025851cbf4a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ag,v 1.1 2002/03/14 07:44:23 jmc Exp $

--- ../ffcall/callback/trampoline_r/test1.c.orig	Thu Mar 14 07:22:04 2002
+++ ../ffcall/callback/trampoline_r/test1.c	Thu Mar 14 07:22:07 2002
@@ -69,7 +69,11 @@
 register void* env __asm__("r12");
 #endif
 #ifdef __rs6000__
+#ifdef __NetBSD__
+register void* env __asm__("r13");
+#else
 register void* env __asm__("r11");
+#endif
 #endif
 #ifdef __m88k__
 register void* env __asm__("r11");