summaryrefslogtreecommitdiff
path: root/user/dosbox/asmfix.patch
diff options
context:
space:
mode:
authorHorst G. Burkhardt <horst@adelielinux.org>2018-05-27 02:25:26 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-27 02:25:26 -0500
commit714f6e55b098e34996af22b158d186baa8f26331 (patch)
treeb2a089243b4538917027ccd916d168356d1b2edb /user/dosbox/asmfix.patch
parent1d9a0f330e04a73fa97b38a8f5f9d57d702d85bb (diff)
downloadpackages-714f6e55b098e34996af22b158d186baa8f26331.tar.gz
packages-714f6e55b098e34996af22b158d186baa8f26331.tar.bz2
packages-714f6e55b098e34996af22b158d186baa8f26331.tar.xz
packages-714f6e55b098e34996af22b158d186baa8f26331.zip
user/dosbox: new package
Diffstat (limited to 'user/dosbox/asmfix.patch')
-rw-r--r--user/dosbox/asmfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/dosbox/asmfix.patch b/user/dosbox/asmfix.patch
new file mode 100644
index 000000000..db341e42c
--- /dev/null
+++ b/user/dosbox/asmfix.patch
@@ -0,0 +1,11 @@
+--- dosbox-x-dosbox-x-wip-20180513-1316/src/cpu/core_dyn_x86/risc_x86.h 2018-05-13 19:52:17.000000000 +0000
++++ dosbox-x-dosbox-x-wip-20180513-1316/src/cpu/core_dyn_x86/risc_x86.h 2018-05-16 12:02:44.329617468 +0000
+@@ -130,7 +130,7 @@
+ #else
+ register Bit32u tempflags=reg_flags & FMASK_TEST;
+ __asm__ volatile (
+- "pushl $(run_return_adress) \n"
++ "call 1f ; 1: addl $run_return_adress-.,(%%esp) \n"
+ "pushl %2 \n"
+ "jmp *%3 \n"
+ "run_return_adress: \n"