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
This commit is contained in:
parent
a719eba817
commit
fe09223337
@ -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 <brogers@suse.com>
|
From: Bruce Rogers <brogers@suse.com>
|
||||||
Date: Thu, 16 May 2013 12:39:10 +0200
|
Date: Thu, 16 May 2013 12:39:10 +0200
|
||||||
Subject: [PATCH] virtfs-proxy-helper: Provide __u64 for broken
|
Subject: [PATCH] virtfs-proxy-helper: Provide __u64 for broken
|
||||||
sys/capability.h
|
sys/capability.h
|
||||||
|
|
||||||
Fixes the build on SLE 11 SP2.
|
Fixes the build on SLE 11 SP2.
|
||||||
|
|
||||||
|
[AF: Extend to ppc64]
|
||||||
---
|
---
|
||||||
fsdev/virtfs-proxy-helper.c | 4 ++++
|
fsdev/virtfs-proxy-helper.c | 7 +++++++
|
||||||
1 file changed, 4 insertions(+)
|
1 file changed, 7 insertions(+)
|
||||||
|
|
||||||
diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c
|
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
|
--- a/fsdev/virtfs-proxy-helper.c
|
||||||
+++ b/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.
|
* the COPYING file in the top-level directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
+/* work around a broken sys/capability.h */
|
+/* work around a broken sys/capability.h */
|
||||||
+#if defined(__i386__)
|
+#if defined(__i386__)
|
||||||
+typedef unsigned long long __u64;
|
+typedef unsigned long long __u64;
|
||||||
|
+#endif
|
||||||
|
+#if defined(__powerpc64__)
|
||||||
|
+#include <asm/types.h>
|
||||||
+#endif
|
+#endif
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
@ -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
|
Tue May 21 21:13:04 UTC 2013 - afaerber@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user