pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec8337a47fd6
branches:  trunk
changeset: 329653:ec8337a47fd6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Feb 13 14:08:42 2019 +0000

description:
qemu: Fix build on SunOS.

diffstat:

 emulators/qemu/distinfo                          |   3 ++-
 emulators/qemu/patches/patch-hw_tpm_tpm__ioctl.h |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r e380a08cd77d -r ec8337a47fd6 emulators/qemu/distinfo
--- a/emulators/qemu/distinfo   Wed Feb 13 13:33:43 2019 +0000
+++ b/emulators/qemu/distinfo   Wed Feb 13 14:08:42 2019 +0000
@@ -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_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 -r e380a08cd77d -r ec8337a47fd6 emulators/qemu/patches/patch-hw_tpm_tpm__ioctl.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/qemu/patches/patch-hw_tpm_tpm__ioctl.h  Wed Feb 13 14:08:42 2019 +0000
@@ -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>
+ 



Home | Main Index | Thread Index | Old Index