summaryrefslogtreecommitdiff
path: root/net/arla/patches
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2000-08-30 13:04:00 +0000
committerwennmach <wennmach@pkgsrc.org>2000-08-30 13:04:00 +0000
commitdae7703f6e9c0e51cfee87bfaa3770582df03542 (patch)
tree864376e6898c4ebdd240960e5b3d75b0142aaacd /net/arla/patches
parent2dc45e53819fbe41f9579906818bdd76e98cf872 (diff)
downloadpkgsrc-dae7703f6e9c0e51cfee87bfaa3770582df03542.tar.gz
Upgrade arla to 0.34.2
The main purpose of this upgrade is the support of NetBSD-1.5. Also, patch-ar was added to make arla compile on m68k machines.
Diffstat (limited to 'net/arla/patches')
-rw-r--r--net/arla/patches/patch-ar57
1 files changed, 57 insertions, 0 deletions
diff --git a/net/arla/patches/patch-ar b/net/arla/patches/patch-ar
new file mode 100644
index 00000000000..55e5cd5d581
--- /dev/null
+++ b/net/arla/patches/patch-ar
@@ -0,0 +1,57 @@
+$NetBSD: patch-ar,v 1.1 2000/08/30 13:04:00 wennmach Exp $
+
+Remove all "%" characters in front of register names to make our
+m68k assembler happy.
+
+--- lwp/process.m68k.S.orig Wed Aug 30 14:46:46 2000
++++ lwp/process.m68k.S Wed Aug 30 14:52:32 2000
+@@ -75,19 +75,19 @@
+
+ ENTRY(savecontext)
+ movb #1,_C_LABEL(PRE_Block) | Dont allow any interrupt finagling
+- link %a6,#-(nregs*4) | Save frame pointer & ...
++ link a6,#-(nregs*4) | Save frame pointer & ...
+ | ... allocate space for nregs registers
+ /* Save registers */
+- moveml #regs,%sp@
++ moveml #regs,sp@
+
+- movl %a6@(area1),%a0 | a0 = base of savearea
+- movl %sp,%a0@(topstack) | area->topstack = sp
+- movl %a6@(newsp),%d0 | Get new sp
++ movl a6@(area1),a0 | a0 = base of savearea
++ movl sp,a0@(topstack) | area->topstack = sp
++ movl a6@(newsp),d0 | Get new sp
+ jeq forw1 | If newsp == 0, no stack switch
+- movl %d0,%sp | Switch to new stack
++ movl d0,sp | Switch to new stack
+ forw1:
+- movl %a6@(f),%a0 | a0 = f
+- jbsr %a0@ | f()
++ movl a6@(f),a0 | a0 = f
++ jbsr a0@ | f()
+
+ /* It is impossible to be here, so abort() */
+
+@@ -102,14 +102,14 @@
+ area2 = 8
+
+ ENTRY(returnto)
+- link %a6,#0
+- movl %a6@(area2),%a0 | Base of savearea
+- movl %a0@(topstack),%sp | Restore sp
++ link a6,#0
++ movl a6@(area2),a0 | Base of savearea
++ movl a0@(topstack),sp | Restore sp
+ /* Restore registers */
+- moveml %sp@,#regs
++ moveml sp@,#regs
+
+- addl #(nregs*4),%sp
+- movl %sp,%a6 | Argghh...be careful here
+- unlk %a6
++ addl #(nregs*4),sp
++ movl sp,a6 | Argghh...be careful here
++ unlk a6
+ clrb _C_LABEL(PRE_Block)
+ rts | Return to previous process