summaryrefslogtreecommitdiff
path: root/packages/qemu/qemu-0.9.1/61_safe_64bit_int.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-01-28 20:43:08 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-01-28 20:43:08 +0000
commitd3422da17dbc0353f7ca8e6c8202201b3ff54af2 (patch)
tree4ebad87462bca8a06ad39538554be5e0fb8b452d /packages/qemu/qemu-0.9.1/61_safe_64bit_int.patch
parent8314927eacf95b2f0cb38d4a81ce2b0d555e293d (diff)
parentcdd4a5cedce39a419cb8b217770edf5dd7e7f319 (diff)
merge of '1c44ae3b4aae69a8d66c7c068c44f337bc51f559'
and 'd039068c51d6eb51dd6d0bd1dd1306d490e3d527'
Diffstat (limited to 'packages/qemu/qemu-0.9.1/61_safe_64bit_int.patch')
-rw-r--r--packages/qemu/qemu-0.9.1/61_safe_64bit_int.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/qemu/qemu-0.9.1/61_safe_64bit_int.patch b/packages/qemu/qemu-0.9.1/61_safe_64bit_int.patch
new file mode 100644
index 0000000000..9b1ace81a5
--- /dev/null
+++ b/packages/qemu/qemu-0.9.1/61_safe_64bit_int.patch
@@ -0,0 +1,27 @@
+#DPATCHLEVEL=0
+---
+# dyngen-exec.h | 4 ++--
+# 1 file changed, 2 insertions(+), 2 deletions(-)
+#
+Index: dyngen-exec.h
+===================================================================
+--- dyngen-exec.h.orig 2007-12-31 13:06:21.000000000 +0000
++++ dyngen-exec.h 2007-12-31 13:08:54.000000000 +0000
+@@ -38,7 +38,7 @@
+ // Linux/Sparc64 defines uint64_t
+ #if !(defined (__sparc_v9__) && defined(__linux__))
+ /* XXX may be done for all 64 bits targets ? */
+-#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__)
++#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__) || defined(__sparc__)
+ typedef unsigned long uint64_t;
+ #else
+ typedef unsigned long long uint64_t;
+@@ -55,7 +55,7 @@
+ typedef signed int int32_t;
+ // Linux/Sparc64 defines int64_t
+ #if !(defined (__sparc_v9__) && defined(__linux__))
+-#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__)
++#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__) || defined(__sparc__)
+ typedef signed long int64_t;
+ #else
+ typedef signed long long int64_t;