summaryrefslogtreecommitdiff
path: root/devel/ffcall/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ffcall/patches/patch-ac')
-rw-r--r--devel/ffcall/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/ffcall/patches/patch-ac b/devel/ffcall/patches/patch-ac
new file mode 100644
index 00000000000..3a96cd1a13d
--- /dev/null
+++ b/devel/ffcall/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2003/03/06 23:50:52 jmc Exp $
+
+--- ./callback/trampoline_r/test1.c.orig Thu Mar 6 23:18:14 2003
++++ ./callback/trampoline_r/test1.c Thu Mar 6 23:18:50 2003
+@@ -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");