diff options
Diffstat (limited to 'main/xen')
-rw-r--r-- | main/xen/APKBUILD | 4 | ||||
-rw-r--r-- | main/xen/blktap-write.patch | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD index d6657db7fe..ca734eb16c 100644 --- a/main/xen/APKBUILD +++ b/main/xen/APKBUILD @@ -18,6 +18,7 @@ source="http://bits.xensource.com/oss-xen/release/$pkgver/$pkgname-$pkgver.tar.g xen-disable-werror.patch xen-dont-use-lib64.patch xen-sed-is-broken-hack.patch + blktap-write.patch xend.initd xendomains.initd" arch="x86_64" @@ -35,6 +36,8 @@ prepare() { ;; esac done + # remove all -Werror + find -name '*.mk' -o -name 'Make*' | xargs sed 's/-Werror//g' } build() { @@ -75,5 +78,6 @@ a569f16a7e3c832ba3fab6154f657244 xen-disable-firmware.patch 949d0d3bc1e8f300a849279b60760c6a xen-disable-werror.patch b6599060e22b61dabee0fe460b4a0c9d xen-dont-use-lib64.patch 0cec6a97de9e4bc178f3e71190495cc3 xen-sed-is-broken-hack.patch +56af00443c8d40944082e26304452a5e blktap-write.patch 1d81b04f8c8b919879a73f0e3d2fe80f xend.initd a2b5234483f1b5892d22e9315d9c307f xendomains.initd" diff --git a/main/xen/blktap-write.patch b/main/xen/blktap-write.patch new file mode 100644 index 0000000000..4b589daec2 --- /dev/null +++ b/main/xen/blktap-write.patch @@ -0,0 +1,24 @@ +--- ./tools/blktap2/include/blktaplib.h.orig ++++ ./tools/blktap2/include/blktaplib.h +@@ -198,7 +198,9 @@ + } msg_lock_t; + + #define READ 0 ++#ifndef WRITE + #define WRITE 1 ++#endif + + /*Control Messages between manager and tapdev*/ + #define CTLMSG_PARAMS 1 +--- ./tools/blktap/lib/blktaplib.h.orig ++++ ./tools/blktap/lib/blktaplib.h +@@ -196,7 +196,9 @@ + } msg_pid_t; + + #define READ 0 ++#ifndef WRITE + #define WRITE 1 ++#endif + + /*Control Messages between manager and tapdev*/ + #define CTLMSG_PARAMS 1 |