summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamil <kamil>2017-07-01 00:40:30 +0000
committerkamil <kamil>2017-07-01 00:40:30 +0000
commit026cde0fe2e8e7df48325e997cb32a4ec9d5926f (patch)
tree74d83b333f5ea8809597a2b958fbc3fa0c5e8ae0
parente9f2fc3010359be902e57fc1d0965f54783e841e (diff)
downloadpkgsrc-026cde0fe2e8e7df48325e997cb32a4ec9d5926f.tar.gz
Fix of xentools42 build on NetBSD 8.99.1
Address <sys/user.h> removal fallout.
-rw-r--r--sysutils/xentools42/distinfo3
-rw-r--r--sysutils/xentools42/patches/patch-blktap_lib_blktaplib.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/xentools42/distinfo b/sysutils/xentools42/distinfo
index c42ff564965..0d38b40d0a7 100644
--- a/sysutils/xentools42/distinfo
+++ b/sysutils/xentools42/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2017/06/22 16:09:17 joerg Exp $
+$NetBSD: distinfo,v 1.32 2017/07/01 00:40:30 kamil Exp $
SHA1 (ipxe-git-v1.0.0.tar.gz) = da052c8de5f3485fe0253c19cf52ed6d72528485
RMD160 (ipxe-git-v1.0.0.tar.gz) = dcd9b6eaafa1ce05c1ebf2a15f2f73ad7a8c5547
@@ -44,6 +44,7 @@ SHA1 (patch-XSA-197-2) = 1734d4313b66f958a312676da489b94773524128
SHA1 (patch-XSA-198) = 38d120b4be3e04f87e75e6838a64d44e180d708b
SHA1 (patch-XSA-199) = e34c7557a1df7131000f5e408e89d3aaa4b10189
SHA1 (patch-blktap_drivers_Makefile) = c6be57154a403a64e3d6bc22d6bd833fe33fc9af
+SHA1 (patch-blktap_lib_blktaplib.h) = 571e35081df24785ae67133b04d2b0ff016a0ded
SHA1 (patch-configure) = 11df58a8e1cd6bcc319db0aff508367e59592cba
SHA1 (patch-examples_Makefile) = ee02f973416ca4ffda5381cd7a4ddb3b43579621
SHA1 (patch-examples_xend-config.sxp) = 1c3423b6eead47f09768d571a65891caed12aa99
diff --git a/sysutils/xentools42/patches/patch-blktap_lib_blktaplib.h b/sysutils/xentools42/patches/patch-blktap_lib_blktaplib.h
new file mode 100644
index 00000000000..9ee8c377b70
--- /dev/null
+++ b/sysutils/xentools42/patches/patch-blktap_lib_blktaplib.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-blktap_lib_blktaplib.h,v 1.1 2017/07/01 00:40:30 kamil Exp $
+
+--- blktap/lib/blktaplib.h.orig 2014-09-02 06:22:57.000000000 +0000
++++ blktap/lib/blktaplib.h
+@@ -34,7 +34,9 @@
+
+ #include <xenctrl.h>
+ #include <sys/param.h>
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #include <sys/user.h>
++#endif
+ #include <xen/xen.h>
+ #include <xen/io/blkif.h>
+ #include <xen/io/ring.h>