diff options
author | nox <nox@FreeBSD.org> | 2007-02-01 07:20:54 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2007-02-01 07:20:54 +0800 |
commit | 12bcba935d1a35c072fdc688bc073f2898c8c85c (patch) | |
tree | 468028c1038dc177db635304f0f3d3369049628e /emulators | |
parent | ebe6377a7f125e717c73105984af59351d2a5a6b (diff) | |
download | freebsd-ports-gnome-12bcba935d1a35c072fdc688bc073f2898c8c85c.tar.gz freebsd-ports-gnome-12bcba935d1a35c072fdc688bc073f2898c8c85c.tar.zst freebsd-ports-gnome-12bcba935d1a35c072fdc688bc073f2898c8c85c.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) |