pkgsrc-WIP-changes archive

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

virtualbox: include headers for struct timeval and select(2)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Jul 9 17:54:37 2016 +0200
Changeset:	2127cafa7ccde50724c24237c207fcf1f34cae2a

Modified Files:
	virtualbox/distinfo
Added Files:
	virtualbox/patches/patch-src_VBox_Main_glue_NativeEventQueue.cpp

Log Message:
virtualbox: include headers for struct timeval and select(2)

I'm not sure if it's the proper way, at least it works for now.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2127cafa7ccde50724c24237c207fcf1f34cae2a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 virtualbox/distinfo                                      |  1 +
 .../patch-src_VBox_Main_glue_NativeEventQueue.cpp        | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diffs:
diff --git a/virtualbox/distinfo b/virtualbox/distinfo
index 1985425..03bb572 100644
--- a/virtualbox/distinfo
+++ b/virtualbox/distinfo
@@ -131,6 +131,7 @@ SHA1 (patch-src_VBox_Main_Makefile.kmk) = 2f3cac33895b6e0cee14593bd0d85aa3c7e252
 SHA1 (patch-src_VBox_Main_cbinding_VBoxCAPIGlue.c) = f2ab8096d65b200bad3171875706d3acd3e86ea4
 SHA1 (patch-src_VBox_Main_cbinding_VBoxCAPI__v2__2.h) = 0a66eb2fa8ebcb1dd8a720dd3dadbb03a8a8c5b7
 SHA1 (patch-src_VBox_Main_cbinding_VBoxCAPI__v3__0.h) = 0c49c14b973ea74bdb0bf6e3c124d87ba1eaeb20
+SHA1 (patch-src_VBox_Main_glue_NativeEventQueue.cpp) = f566c3cd73c323f78c38487bde29b88ca86e9c96
 SHA1 (patch-src_VBox_Main_glue_tests_Makefile) = 19002fe2622195a6342eeec8cb180ced75ad7c0a
 SHA1 (patch-src_VBox_Main_include_ConsoleImpl.h) = 5bc4916830e8f7e2c47c5c98d9491312f9543f1d
 SHA1 (patch-src_VBox_Main_include_HostUSBDeviceImpl.h) = 6d4a8057ea6e52aefc605e23f0a770cc5adee9ae
diff --git a/virtualbox/patches/patch-src_VBox_Main_glue_NativeEventQueue.cpp b/virtualbox/patches/patch-src_VBox_Main_glue_NativeEventQueue.cpp
new file mode 100644
index 0000000..360cc8f
--- /dev/null
+++ b/virtualbox/patches/patch-src_VBox_Main_glue_NativeEventQueue.cpp
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- src/VBox/Main/glue/NativeEventQueue.cpp.orig	2016-03-04 19:29:36.000000000 +0000
++++ src/VBox/Main/glue/NativeEventQueue.cpp
+@@ -20,6 +20,11 @@
+ 
+ #include <new> /* For bad_alloc. */
+ 
++#ifdef RT_OS_NETBSD
++#include <sys/select.h>
++#include <sys/time.h>
++#endif
++
+ #ifdef RT_OS_DARWIN
+ # include <CoreFoundation/CFRunLoop.h>
+ #endif


Home | Main Index | Thread Index | Old Index