summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2019-02-13 14:08:42 +0000
committerjperkin <jperkin@pkgsrc.org>2019-02-13 14:08:42 +0000
commitfbdf0b7c36527c704d6f1e856ac9c4967d1b6bc5 (patch)
treed4faa319cdbfd9e9e10a5b40b1e7d6b8a09fca3a /emulators
parentbc7f8ef325b423b833a987a829d2b48a7c6e944d (diff)
downloadpkgsrc-fbdf0b7c36527c704d6f1e856ac9c4967d1b6bc5.tar.gz
qemu: Fix build on SunOS.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu/distinfo3
-rw-r--r--emulators/qemu/patches/patch-hw_tpm_tpm__ioctl.h16
2 files changed, 18 insertions, 1 deletions
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
index 28218dda641..6f807c03a83 100644
--- a/emulators/qemu/distinfo
+++ b/emulators/qemu/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.142 2019/02/13 05:16:12 kamil Exp $
+$NetBSD: distinfo,v 1.143 2019/02/13 14:08:42 jperkin Exp $
SHA1 (qemu-3.1.0.tar.xz) = 3ed63c0c05abc8c8ec075dac2688c229f139a5da
RMD160 (qemu-3.1.0.tar.xz) = 7650d76b8578ee2c31cef048c7929b30c607b83d
@@ -16,6 +16,7 @@ SHA1 (patch-hw_core_uboot__image.h) = 26a656310d991747b7080b9f28042afd536e4c28
SHA1 (patch-hw_display_omap__dss.c) = 6b13242f28e32346bc70548c216c578d98fd3420
SHA1 (patch-hw_net_etraxfs__eth.c) = e5dd1661d60dbcd27b332403e0843500ba9544bc
SHA1 (patch-hw_net_xilinx__axienet.c) = ebcd2676d64ce6f31e4a8c976d4fdf530ad5e8b7
+SHA1 (patch-hw_tpm_tpm__ioctl.h) = f99aa2912a2229b4ae52d3a0a8f2a7b15756c9be
SHA1 (patch-hw_usb_dev-mtp.c) = 66543b5559d92f8e2fa9a6eb85e5dfe7c1ad3339
SHA1 (patch-include_sysemu_kvm.h) = f99e8ad021f6c8e89e3ca52538bd9b0656e6f619
SHA1 (patch-target_arm_cpu.h) = 0f70a35900c7cc3124dc11969643e0eef6ad6af5
diff --git a/emulators/qemu/patches/patch-hw_tpm_tpm__ioctl.h b/emulators/qemu/patches/patch-hw_tpm_tpm__ioctl.h
new file mode 100644
index 00000000000..572df615cef
--- /dev/null
+++ b/emulators/qemu/patches/patch-hw_tpm_tpm__ioctl.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-hw_tpm_tpm__ioctl.h,v 1.1 2019/02/13 14:08:43 jperkin Exp $
+
+SunOS needs filio.h for _IO*() macros.
+
+--- hw/tpm/tpm_ioctl.h.orig 2018-12-11 17:44:34.000000000 +0000
++++ hw/tpm/tpm_ioctl.h
+@@ -8,6 +8,9 @@
+ #ifndef _TPM_IOCTL_H_
+ #define _TPM_IOCTL_H_
+
++#ifdef __sun
++#include <sys/filio.h>
++#endif
+ #include <sys/uio.h>
+ #include <sys/ioctl.h>
+