diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-10-28 02:56:27 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-10-28 02:56:27 +0800 |
commit | 36d9e7173492403f364c18c554b7b8df1856134b (patch) | |
tree | e092e35ca7be8e1ef233833d055bfb0e0b4f8ce0 /java/tya/files | |
parent | 63b5a38859dffbc62a4697dbfad7fcae33459e54 (diff) | |
download | freebsd-ports-gnome-36d9e7173492403f364c18c554b7b8df1856134b.tar.gz freebsd-ports-gnome-36d9e7173492403f364c18c554b7b8df1856134b.tar.zst freebsd-ports-gnome-36d9e7173492403f364c18c554b7b8df1856134b.zip |
Update to 1.8.
Fix build on -CURRENT.
Utilize DOCSDIR, obey NOPORTDOCS.
Diffstat (limited to 'java/tya/files')
-rw-r--r-- | java/tya/files/patch-tya.c | 38 | ||||
-rw-r--r-- | java/tya/files/patch-tyaruntime.c | 13 |
2 files changed, 51 insertions, 0 deletions
diff --git a/java/tya/files/patch-tya.c b/java/tya/files/patch-tya.c new file mode 100644 index 000000000000..b35aaf482659 --- /dev/null +++ b/java/tya/files/patch-tya.c @@ -0,0 +1,38 @@ +--- ./tya.c.orig Tue Jul 9 20:28:10 2002 ++++ ./tya.c Tue Oct 28 00:44:51 2003 +@@ -786,7 +786,7 @@ + unsigned long oldesp asm("anOldsp"); + unsigned long oldebp asm("anOldbp"); + unsigned long jumpTo asm("aJumpTo"); +-#endif EXCEPTIONS_BY_SIGNALS ++#endif /* EXCEPTIONS_BY_SIGNALS */ + + #define NEWGETCONTEXT + #define OFF116v5 4 // 0 for 114v4a +@@ -916,16 +916,16 @@ + + // restore old ebp and esp, push old eip on stack for exception handler + // and jump there +- asm volatile( " +- movl $anOldbp, %eax +- movl (%eax), %ebp +- movl $anOldsp, %eax +- movl (%eax), %esp +- movl $anOldip, %eax +- movl (%eax),%eax +- pushl %eax +- movl $aJumpTo, %eax +- movl (%eax), %eax ++ asm volatile( "\ ++ movl $anOldbp, %eax\ ++ movl (%eax), %ebp\ ++ movl $anOldsp, %eax\ ++ movl (%eax), %esp\ ++ movl $anOldip, %eax\ ++ movl (%eax),%eax\ ++ pushl %eax\ ++ movl $aJumpTo, %eax\ ++ movl (%eax), %eax\ + jmp *%eax" ); + #endif // EXCEPTIONS_BY_SIGNALS + return HOOKRETVAL; diff --git a/java/tya/files/patch-tyaruntime.c b/java/tya/files/patch-tyaruntime.c new file mode 100644 index 000000000000..1a8e4071de90 --- /dev/null +++ b/java/tya/files/patch-tyaruntime.c @@ -0,0 +1,13 @@ +--- ./tyaruntime.c.orig Tue Oct 28 00:35:00 2003 ++++ ./tyaruntime.c Tue Oct 28 00:35:15 2003 +@@ -126,8 +126,8 @@ + { + FASTINVPREPARE(); + } +-#endif USEASM +-#endif TRY_FAST_INVOKE ++#endif /* USEASM */ ++#endif /* TRY_FAST_INVOKE */ + + + //--------------------------------------------------------------------------------- |