From fe0922333794586a738588e05c3d0ae965a0add5a1844853b01e3bba5ae22fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 23 May 2013 16:04:22 +0000 Subject: [PATCH] Accepting request 176444 from home:a_faerber:branches:Virtualization Fix SLE_11_SP2 ppc64 build OBS-URL: https://build.opensuse.org/request/show/176444 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=139 --- 0038-virtfs-proxy-helper-Provide-__u64-f.patch | 15 ++++++++++----- qemu.changes | 5 +++++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/0038-virtfs-proxy-helper-Provide-__u64-f.patch b/0038-virtfs-proxy-helper-Provide-__u64-f.patch index 4897bace..46bf6916 100644 --- a/0038-virtfs-proxy-helper-Provide-__u64-f.patch +++ b/0038-virtfs-proxy-helper-Provide-__u64-f.patch @@ -1,25 +1,30 @@ -From 7983edf59204dc1fdfa07872c6ce3d0f2d520b29 Mon Sep 17 00:00:00 2001 +From 563299dd5726bc6c7f2bc21ba101f965cf0c9fba Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Thu, 16 May 2013 12:39:10 +0200 Subject: [PATCH] virtfs-proxy-helper: Provide __u64 for broken sys/capability.h Fixes the build on SLE 11 SP2. + +[AF: Extend to ppc64] --- - fsdev/virtfs-proxy-helper.c | 4 ++++ - 1 file changed, 4 insertions(+) + fsdev/virtfs-proxy-helper.c | 7 +++++++ + 1 file changed, 7 insertions(+) diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c -index 713a7b2..0459bdf 100644 +index 713a7b2..b8da77d 100644 --- a/fsdev/virtfs-proxy-helper.c +++ b/fsdev/virtfs-proxy-helper.c -@@ -9,6 +9,10 @@ +@@ -9,6 +9,13 @@ * the COPYING file in the top-level directory. */ +/* work around a broken sys/capability.h */ +#if defined(__i386__) +typedef unsigned long long __u64; ++#endif ++#if defined(__powerpc64__) ++#include +#endif #include #include diff --git a/qemu.changes b/qemu.changes index f4fd8607..03e7cae4 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 23 15:08:42 UTC 2013 - afaerber@suse.de + +- Extend virtfs typedef workaround to ppc64 for SLE_11_SP2 + ------------------------------------------------------------------- Tue May 21 21:13:04 UTC 2013 - afaerber@suse.de