66bc8c37ca
Split off qemu-testsuite.spec to decouple retriggering the sometimes-failing tests from the lengthy build of the binaries. Extend test coverage to include iotests for block backends. Drop the SUSE-only MAC address warning for now, to keep output-checking tests from failing. Re-enable glusterfs support for Factory (updated to v3.6.2). Re-enable libseccomp support for armv7l (submission of patched v2.2.0 pending). OBS-URL: https://build.opensuse.org/request/show/295465 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=248
32 lines
844 B
Diff
32 lines
844 B
Diff
From 8948d8682b0955eecfeda389015715e87070c872 Mon Sep 17 00:00:00 2001
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
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 | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c
|
|
index a698e2d..bbc6233 100644
|
|
--- a/fsdev/virtfs-proxy-helper.c
|
|
+++ b/fsdev/virtfs-proxy-helper.c
|
|
@@ -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 <asm/types.h>
|
|
+#endif
|
|
#include <sys/resource.h>
|
|
#include <getopt.h>
|
|
#include <syslog.h>
|