diff options
author | Juergen Lock <nox@FreeBSD.org> | 2007-01-31 23:20:54 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2007-01-31 23:20:54 +0000 |
commit | 50ae7e59e85e4a3c6a7e20ba7f2e4fd995bc7b6f (patch) | |
tree | 79699cd1102d8dc921e7cc901b282bc91cfce5d3 /emulators | |
parent | d638a5a5d75f702019d1ee76ccbe6285e0166b05 (diff) | |
download | freebsd-ports-50ae7e59e85e4a3c6a7e20ba7f2e4fd995bc7b6f.zip |
Fix crashes on -current/amd64 hosts
Submitted by: jkim
Approved by: miwi (mentor, implicit)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu-devel/Makefile | 1 | ||||
-rw-r--r-- | emulators/qemu-devel/files/patch-cpu-exec.c | 14 | ||||
-rw-r--r-- | emulators/qemu/Makefile | 1 | ||||
-rw-r--r-- | emulators/qemu/files/patch-cpu-exec.c | 14 |
4 files changed, 30 insertions, 0 deletions
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index 96b376fbf43d..15900ff36c66 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= qemu PORTVERSION= 0.8.2s.20070111 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://www.qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ diff --git a/emulators/qemu-devel/files/patch-cpu-exec.c b/emulators/qemu-devel/files/patch-cpu-exec.c new file mode 100644 index 000000000000..198a19171570 --- /dev/null +++ b/emulators/qemu-devel/files/patch-cpu-exec.c @@ -0,0 +1,14 @@ +--- qemu/cpu-exec.c.orig Wed Jan 31 16:58:03 2007 ++++ qemu/cpu-exec.c Wed Jan 31 17:08:11 2007 +@@ -226,9 +226,9 @@ + + int cpu_exec(CPUState *env1) + { +- int saved_T0, saved_T1; ++ long saved_T0, saved_T1; + #if defined(reg_T2) +- int saved_T2; ++ long saved_T2; + #endif + CPUState *saved_env; + #if defined(TARGET_I386) diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 96b376fbf43d..15900ff36c66 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -7,6 +7,7 @@ PORTNAME= qemu PORTVERSION= 0.8.2s.20070111 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://www.qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ diff --git a/emulators/qemu/files/patch-cpu-exec.c b/emulators/qemu/files/patch-cpu-exec.c new file mode 100644 index 000000000000..198a19171570 --- /dev/null +++ b/emulators/qemu/files/patch-cpu-exec.c @@ -0,0 +1,14 @@ +--- qemu/cpu-exec.c.orig Wed Jan 31 16:58:03 2007 ++++ qemu/cpu-exec.c Wed Jan 31 17:08:11 2007 +@@ -226,9 +226,9 @@ + + int cpu_exec(CPUState *env1) + { +- int saved_T0, saved_T1; ++ long saved_T0, saved_T1; + #if defined(reg_T2) +- int saved_T2; ++ long saved_T2; + #endif + CPUState *saved_env; + #if defined(TARGET_I386) |