diff options
author | Roman I Khimov <khimov@altell.ru> | 2009-05-19 19:18:15 +0400 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2009-05-21 17:14:30 +0400 |
commit | 247515aec9c7b69239bbbc09a3604c5e4e17d01d (patch) | |
tree | c86fb34923bcd440bf4c36b5e3c63bdbd7834c01 /recipes/qemu/qemu-0.10.3/61_safe_64bit_int.patch | |
parent | ccab93e06e6b3fc9a58a000fce97270d99911780 (diff) |
qemu 0.10.3: port OE patches, make preferable version
Fixes binary locale generation broken by
6065fa491c009118ae282ae933215649cccfcd24.
Tested to work on ARM OABI (simpad), ARM EABI (qemuarm), PowerPC (efika)
and i686 (x86-prescott).
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Diffstat (limited to 'recipes/qemu/qemu-0.10.3/61_safe_64bit_int.patch')
-rw-r--r-- | recipes/qemu/qemu-0.10.3/61_safe_64bit_int.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-0.10.3/61_safe_64bit_int.patch b/recipes/qemu/qemu-0.10.3/61_safe_64bit_int.patch new file mode 100644 index 0000000000..80e7b22e27 --- /dev/null +++ b/recipes/qemu/qemu-0.10.3/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 2009-05-01 21:02:44.000000000 +0400 ++++ dyngen-exec.h 2009-05-19 17:56:28.164854448 +0400 +@@ -41,7 +41,7 @@ + // Linux/Sparc64 defines uint64_t + #if !(defined (__sparc_v9__) && defined(__linux__)) && !(defined(__APPLE__) && defined(__x86_64__)) + /* XXX may be done for all 64 bits targets ? */ +-#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__) || defined(_ARCH_PPC64) ++#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__) || defined(_ARCH_PPC64) || defined(__sparc__) + typedef unsigned long uint64_t; + #else + typedef unsigned long long uint64_t; +@@ -58,7 +58,7 @@ + typedef signed int int32_t; + // Linux/Sparc64 defines int64_t + #if !(defined (__sparc_v9__) && defined(__linux__)) && !(defined(__APPLE__) && defined(__x86_64__)) +-#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__) || defined(_ARCH_PPC64) ++#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__) || defined(_ARCH_PPC64) || defined(__sparc__) + typedef signed long int64_t; + #else + typedef signed long long int64_t; |