pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
g/c old virtualbox package that never went anywhere.
Module Name: pkgsrc-wip
Committed By: Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By: tnn
Date: Wed Sep 23 18:04:11 2015 +0200
Changeset: 35ab291bae9eea36ee5fee6b8a53985d14c1ae30
Removed Files:
virtualbox/DESCR
virtualbox/Makefile
virtualbox/PLIST
virtualbox/TODO
virtualbox/distinfo
virtualbox/files/src/VBox/HostDrivers/Support/netbsd/SUPLib-netbsd.cpp
virtualbox/files/src/VBox/HostDrivers/Support/netbsd/SUPR0IdcClient-netbsd.c
virtualbox/files/src/VBox/HostDrivers/Support/netbsd/files_vboxdrv
virtualbox/files/src/VBox/Runtime/r3/netbsd/mp-netbsd.cpp
virtualbox/files/src/VBox/Runtime/r3/netbsd/rtProcInitExePath-netbsd.cpp
virtualbox/patches/patch-aa
virtualbox/patches/patch-ab
virtualbox/patches/patch-ac
virtualbox/patches/patch-ad
virtualbox/patches/patch-ae
virtualbox/patches/patch-af
virtualbox/patches/patch-ag
virtualbox/patches/patch-ah
virtualbox/patches/patch-ai
virtualbox/patches/patch-aj
virtualbox/patches/patch-ak
virtualbox/patches/patch-al
virtualbox/patches/patch-am
virtualbox/patches/patch-an
virtualbox/patches/patch-ao
virtualbox/patches/patch-ap
virtualbox/patches/patch-aq
virtualbox/patches/patch-as
virtualbox/patches/patch-at
virtualbox/patches/patch-au
virtualbox/patches/patch-av
Log Message:
g/c old virtualbox package that never went anywhere.
The battle continues in wip/virtualbox-ose.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=35ab291bae9eea36ee5fee6b8a53985d14c1ae30
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
virtualbox/DESCR | 2 -
virtualbox/Makefile | 69 ------------------
virtualbox/PLIST | 1 -
virtualbox/TODO | 9 ---
virtualbox/distinfo | 26 -------
.../HostDrivers/Support/netbsd/SUPLib-netbsd.cpp | 53 --------------
.../Support/netbsd/SUPR0IdcClient-netbsd.c | 0
.../VBox/HostDrivers/Support/netbsd/files_vboxdrv | 7 --
.../files/src/VBox/Runtime/r3/netbsd/mp-netbsd.cpp | 20 ------
.../Runtime/r3/netbsd/rtProcInitExePath-netbsd.cpp | 11 ---
virtualbox/patches/patch-aa | 64 -----------------
virtualbox/patches/patch-ab | 13 ----
virtualbox/patches/patch-ac | 22 ------
virtualbox/patches/patch-ad | 13 ----
virtualbox/patches/patch-ae | 12 ----
virtualbox/patches/patch-af | 17 -----
virtualbox/patches/patch-ag | 24 -------
virtualbox/patches/patch-ah | 30 --------
virtualbox/patches/patch-ai | 81 ----------------------
virtualbox/patches/patch-aj | 13 ----
virtualbox/patches/patch-ak | 12 ----
virtualbox/patches/patch-al | 22 ------
virtualbox/patches/patch-am | 13 ----
virtualbox/patches/patch-an | 64 -----------------
virtualbox/patches/patch-ao | 40 -----------
virtualbox/patches/patch-ap | 12 ----
virtualbox/patches/patch-aq | 12 ----
virtualbox/patches/patch-as | 17 -----
virtualbox/patches/patch-at | 13 ----
virtualbox/patches/patch-au | 19 -----
virtualbox/patches/patch-av | 31 ---------
31 files changed, 742 deletions(-)
diffs:
diff --git a/virtualbox/DESCR b/virtualbox/DESCR
deleted file mode 100644
index 9375e0a..0000000
--- a/virtualbox/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-VirtualBox is a powerful x86 virtualization product for enterprise as well as
-home use.
diff --git a/virtualbox/Makefile b/virtualbox/Makefile
deleted file mode 100644
index d730c1a..0000000
--- a/virtualbox/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2013/02/01 22:22:16 thomasklausner Exp $
-#
-
-DISTNAME= VirtualBox-${VBOX_VER}
-PKGNAME= virtualbox-${VBOX_VER}
-VBOX_VER= 4.0.2
-CATEGORIES= emulators
-MASTER_SITES= http://download.virtualbox.org/virtualbox/${VBOX_VER}/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.virtualbox.org/
-COMMENT= General-purpose full virtualizer for x86 hardware
-LICENSE= gnu-gpl-v2
-
-HAS_CONFIGURE= yes
-USE_LANGUAGES= c c++
-USE_TOOLS+= pkg-config
-WRKSRC= ${WRKDIR}/VirtualBox-${VBOX_VER}_OSE
-
-CHECK_PORTABILITY_SKIP+= src/VBox/VMM/testcase/mkdsk.sh # XXX
-
-DEPENDS+= cdrtools-[0-9]*:../../sysutils/cdrtools # requires mkisofs
-BUILD_DEPENDS+= dev86-[0-9]*:../../devel/dev86
-BUILD_DEPENDS+= kBuild-[0-9]*:../../wip/kBuild
-BUILD_DEPENDS+= acpica-utils-[0-9]*:../../sysutils/acpica-utils
-BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
-
-CONFIGURE_ARGS+= --with-iasl=${PREFIX}/bin/acpi-iasl
-CONFIGURE_ENV+= X11PREFIX=${X11PREFIX}
-CONFIGURE_ENV+= ZLIBPREFIX=${BUILDLINK_PREFIX.zlib}
-CONFIGURE_ENV+= MESAPREFIX=${BUILDLINK_PREFIX.MesaLib}
-
-ALL_ENV+= VBOX_BLD_PYTHON=${PYTHONBIN}
-
-# Major XXX here
-CONFIGURE_ARGS+= --disable-xpcom
-CONFIGURE_ARGS+= --disable-python
-CONFIGURE_ARGS+= --disable-hardening
-CONFIGURE_ARGS+= --disable-kmods
-CONFIGURE_ARGS+= --disable-alsa
-CONFIGURE_ARGS+= --disable-pulse
-CONFIGURE_ARGS+= --disable-opengl
-CONFIGURE_ARGS+= --disable-qt4
-#CONFIGURE_ARGS+= --with-qt4-dir=${PREFIX}/qt4
-
-post-extract:
- cp -R ${FILESDIR}/src/VBox/Runtime/r3/netbsd ${WRKSRC}/src/VBox/Runtime/r3
- cp -R ${FILESDIR}/src/VBox/HostDrivers/Support/netbsd ${WRKSRC}/src/VBox/HostDrivers/Support
-
-do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} KBUILD_PATH=${WRKSRC}/kBuild sh -c ". ./env.sh; kmk"
-# cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} KBUILD_PATH=${WRKSRC}/kBuild sh -c ". ./env.sh && cd src/VBox/HostDrivers && kmk HostDrivers-src vboxdrv-mod"
-
-#.include "../../audio/pulseaudio/buildlink3.mk"
-.include "../../net/libIDL/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../lang/python/application.mk"
-.include "../../textproc/libxslt/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../x11/libXcursor/buildlink3.mk"
-.include "../../x11/libXinerama/buildlink3.mk"
-.include "../../x11/libXmu/buildlink3.mk"
-#.include "../../x11/qt4-libs/buildlink3.mk"
-.include "../../www/curl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/virtualbox/PLIST b/virtualbox/PLIST
deleted file mode 100644
index 436c39b..0000000
--- a/virtualbox/PLIST
+++ /dev/null
@@ -1 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/14 19:26:50 tnn2 Exp $
diff --git a/virtualbox/TODO b/virtualbox/TODO
deleted file mode 100644
index c4171d1..0000000
--- a/virtualbox/TODO
+++ /dev/null
@@ -1,9 +0,0 @@
-When updating this package, please check:
-- http://secunia.com/advisories/42985/
-- http://secunia.com/advisories/45316/
-- http://secunia.com/advisories/47626/
-- http://secunia.com/advisories/50519/
-- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0420
-- http://secunia.com/advisories/53858/
-- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2477
-- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3456
diff --git a/virtualbox/distinfo b/virtualbox/distinfo
deleted file mode 100644
index 0631be2..0000000
--- a/virtualbox/distinfo
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: distinfo,v 1.12 2011/02/19 13:27:18 tnn2 Exp $
-
-SHA1 (VirtualBox-4.0.2.tar.bz2) = 82218448fd572ae706c4455fc9e7e0a970ea8bd1
-RMD160 (VirtualBox-4.0.2.tar.bz2) = 50677557729595d77f152157bbb65018beca6c4b
-Size (VirtualBox-4.0.2.tar.bz2) = 69867297 bytes
-SHA1 (patch-aa) = 932e905b4b3bf773df53299f718bc5df38e3fed7
-SHA1 (patch-ab) = 164b4120ec735633fb59ab1f7015fe5f22516231
-SHA1 (patch-ac) = b013071ad0841d11444dca65ddc090351e82c185
-SHA1 (patch-ad) = dea3bdeea57021c236affce900451ef9d111678c
-SHA1 (patch-ae) = 6668855ea532a95aa491e939a77dc31bf66258f7
-SHA1 (patch-af) = ddc6a4af008f1a2521986e22b9b30afa8a5254dc
-SHA1 (patch-ag) = daff1abce935947c00ab90b84d85377422a80b82
-SHA1 (patch-ah) = 9dbaa00510b2322fc7ca5ad64a58a0ca02a129cb
-SHA1 (patch-ai) = e7ef6c84668c24230f86eefd90f773e76776efac
-SHA1 (patch-aj) = 29655e2e7b0260b1d3797df928838ccd503171f0
-SHA1 (patch-ak) = b50cff28ce5f1807129a702c96371bfdf7e2ba50
-SHA1 (patch-al) = 6c47c60a89f7112d5e473d0ee7db0a1f737bd085
-SHA1 (patch-am) = 753fed0b0e0bae3966ae3dbbe2fd91dc901df918
-SHA1 (patch-an) = e5aefc636fce95739e519e80985670e72557596c
-SHA1 (patch-ao) = 6e2a5c0b8537cf075ccdb9ed998660d66b7d528a
-SHA1 (patch-ap) = 3826993aafe8d41def17a3666a6ada0a82b764df
-SHA1 (patch-aq) = e8c7f4fd2f7165bb7f11a3d4c7a5172cf33643e8
-SHA1 (patch-as) = cf0b0e5aba6c6bb69deb91d8bd69826b76d1ae0e
-SHA1 (patch-at) = 7b7443c4b106345fb2b3116a27da82f37bf44169
-SHA1 (patch-au) = faadffc605af376156a4910401b0240324d29edc
-SHA1 (patch-av) = 5396bed2e495bd8618544d63b71cdb2c961f0219
diff --git a/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/SUPLib-netbsd.cpp b/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/SUPLib-netbsd.cpp
deleted file mode 100644
index c860aec..0000000
--- a/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/SUPLib-netbsd.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-#define LOG_GROUP LOG_GROUP_SUP
-#ifdef IN_SUP_HARDENED_R3
-# undef DEBUG /* Warning: disables RT_STRICT */
-# define LOG_DISABLED
- /** @todo RTLOGREL_DISABLED */
-# include <iprt/log.h>
-# undef LogRelIt
-# define LogRelIt(pvInst, fFlags, iGroup, fmtargs) do { } while (0)
-#endif
-
-#include <VBox/log.h>
-#include <VBox/sup.h>
-#include <iprt/path.h>
-#include <iprt/assert.h>
-#include <VBox/types.h>
-#include <iprt/string.h>
-#include <VBox/err.h>
-#include <VBox/param.h>
-#include "../SUPLibInternal.h"
-#include "../SUPDrvIOC.h"
-
-
-int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited)
-{
-}
-
-int suplibOsTerm(PSUPLIBDATA pThis)
-{
-}
-
-int suplibOsInstall(void)
-{
-}
-
-int suplibOsUninstall(void)
-{
-}
-
-int suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq)
-{
-}
-
-int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, uintptr_t idCpu)
-{
-}
-
-int suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages)
-{
-}
-
-int suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)
-{
-}
diff --git a/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/SUPR0IdcClient-netbsd.c b/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/SUPR0IdcClient-netbsd.c
deleted file mode 100644
index e69de29..0000000
diff --git a/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/files_vboxdrv b/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/files_vboxdrv
deleted file mode 100644
index 6e57f26..0000000
--- a/virtualbox/files/src/VBox/HostDrivers/Support/netbsd/files_vboxdrv
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-FILES_VBOXDRV_NOBIN=" \
-"
-
-FILES_VBOXDRV_BIN=" \
-"
diff --git a/virtualbox/files/src/VBox/Runtime/r3/netbsd/mp-netbsd.cpp b/virtualbox/files/src/VBox/Runtime/r3/netbsd/mp-netbsd.cpp
deleted file mode 100644
index b61e05e..0000000
--- a/virtualbox/files/src/VBox/Runtime/r3/netbsd/mp-netbsd.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <iprt/mp.h>
-#include <iprt/cpuset.h>
-#include <iprt/assert.h>
-#include <iprt/string.h>
-#include <iprt/alloc.h>
-#include <iprt/log.h>
-#include <iprt/once.h>
-#include <iprt/critsect.h>
-
-RTDECL(uint32_t) RTMpGetCurFrequency(RTCPUID idCpu)
-{
-}
-
-RTDECL(uint32_t) RTMpGetMaxFrequency(RTCPUID idCpu)
-{
-}
-
-RTDECL(RTCPUID) RTMpGetOnlineCount(void)
-{
-}
diff --git a/virtualbox/files/src/VBox/Runtime/r3/netbsd/rtProcInitExePath-netbsd.cpp b/virtualbox/files/src/VBox/Runtime/r3/netbsd/rtProcInitExePath-netbsd.cpp
deleted file mode 100644
index 4178b79..0000000
--- a/virtualbox/files/src/VBox/Runtime/r3/netbsd/rtProcInitExePath-netbsd.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <iprt/string.h>
-#include <iprt/assert.h>
-#include <iprt/err.h>
-#include <iprt/path.h>
-#include "internal/process.h"
-#include "internal/path.h"
-
-DECLHIDDEN(int) rtProcInitExePath(char *pszPath, size_t cchPath)
-{
- return RTErrConvertFromErrno(2);
-}
diff --git a/virtualbox/patches/patch-aa b/virtualbox/patches/patch-aa
deleted file mode 100644
index 84d88d3..0000000
--- a/virtualbox/patches/patch-aa
+++ /dev/null
@@ -1,64 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2011/02/19 13:16:04 tnn2 Exp $
-
---- configure.orig 2011-01-14 20:15:50.000000000 +0000
-+++ configure
-@@ -51,6 +51,8 @@ case "$OS" in
- ;;
- freebsd)
- ;;
-+ netbsd)
-+ ;;
- sunos)
- OS='solaris'
- ;;
-@@ -113,18 +115,17 @@ LIBPTHREAD="-lpthread"
- LIBCAP="-lcap"
- GSOAP=""
- GSOAP_IMPORT=""
--INCX11="/usr/local/include"
--LIBX11="-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11"
--LIBXCURSOR="-lXcursor"
--LIBXMU="-lXmu"
--LIBXINERAMA="-lXinerama"
--LIBXRANDR="-lXrandr"
-+INCX11="-I${X11PREFIX}/include"
-+LIBX11="-L${X11PREFIX}/lib -Wl,-R${X11PREFIX}/lib -lXext -lX11"
-+LIBXCURSOR="-L${X11PREFIX}/lib -Wl,-R${X11PREFIX}/lib -lXcursor"
-+LIBXMU="-L${X11PREFIX}/lib -Wl,-R${X11PREFIX}/lib -lXmu"
-+LIBXINERAMA="-L${X11PREFIX}/lib -Wl,-R${X11PREFIX}/lib -lXinerama"
-+LIBXRANDR="-L${X11PREFIX}/lib -Wl,-R${X11PREFIX}/lib -lXrandr"
- MAKESELF="makeself"
--MESA="-lGL"
--INCZ=""
--LIBZ="-lz"
-+INCZ="-I${ZLIBPREFIX}/include"
-+LIBZ="-L${ZLIBPREFIX}/lib -Wl,-R${ZLIBPREFIX}/lib -lz"
- CXX_FLAGS=""
--if [ "$OS" = "freebsd" ]; then
-+if false; then
- INCCURL="-I/usr/local/include"
- LIBCURL="-L/usr/local/lib -lcurl"
- INCPULSE="-I/usr/local/include"
-@@ -132,10 +133,10 @@ if [ "$OS" = "freebsd" ]; then
- INCPNG="-I/usr/local/include"
- LIBPNG="-L/usr/local/lib -lpng"
- else
-- INCCURL=""
-- LIBCURL="-lcurl"
-- INCPNG=""
-- LIBPNG="-lpng"
-+ INCCURL="$(pkg-config --cflags libcurl)"
-+ LIBCURL="$(pkg-config --libs libcurl)"
-+ INCPNG="$(pkg-config --cflags libpng)"
-+ LIBPNG="$(pkg-config --libs libpng)"
- fi
- PKGCONFIG="`which_wrapper pkg-config`"
- PYTHONDIR="/usr /usr/local"
-@@ -2474,6 +2475,7 @@ check_gcc
- # the libraries
- [ "$OS" != "darwin" ] && check_pthread
- check_libxml2
-+check_libxslt
- [ $WITH_XPCOM -eq 1 ] && check_libxslt
- [ $WITH_LIBIDL -eq 1 ] && check_libidl
- check_ssl
diff --git a/virtualbox/patches/patch-ab b/virtualbox/patches/patch-ab
deleted file mode 100644
index 9cc7584..0000000
--- a/virtualbox/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2010/07/21 18:17:59 tnn2 Exp $
-
---- src/VBox/Runtime/r3/posix/semevent-posix.cpp.orig 2010-06-25 14:25:34.000000000 +0000
-+++ src/VBox/Runtime/r3/posix/semevent-posix.cpp
-@@ -47,7 +47,7 @@
- # define pthread_yield() pthread_yield_np()
- #endif
-
--#ifdef RT_OS_SOLARIS
-+#if defined(RT_OS_SOLARIS) || defined(RT_OS_NETBSD)
- # include <sched.h>
- # define pthread_yield() sched_yield()
- #endif
diff --git a/virtualbox/patches/patch-ac b/virtualbox/patches/patch-ac
deleted file mode 100644
index 076c5f4..0000000
--- a/virtualbox/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2010/07/21 18:17:59 tnn2 Exp $
-
---- src/VBox/Runtime/VBox/log-vbox.cpp.orig 2010-06-25 14:25:24.000000000 +0000
-+++ src/VBox/Runtime/VBox/log-vbox.cpp
-@@ -131,7 +131,7 @@
- # include <Windows.h>
- # elif defined(RT_OS_LINUX)
- # include <unistd.h>
--# elif defined(RT_OS_FREEBSD)
-+# elif defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD)
- # include <sys/param.h>
- # include <sys/sysctl.h>
- # include <sys/user.h>
-@@ -370,7 +370,7 @@ RTDECL(PRTLOGGER) RTLogDefaultInit(void)
- fclose(pFile);
- }
-
--# elif defined(RT_OS_FREEBSD)
-+# elif defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD)
- /* Retrieve the required length first */
- int aiName[4];
- aiName[0] = CTL_KERN;
diff --git a/virtualbox/patches/patch-ad b/virtualbox/patches/patch-ad
deleted file mode 100644
index 7dd482f..0000000
--- a/virtualbox/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2010/07/19 14:41:43 tnn2 Exp $
-
---- include/iprt/spinlock.h.orig 2010-06-25 14:23:54.000000000 +0000
-+++ include/iprt/spinlock.h
-@@ -61,7 +61,7 @@ typedef struct RTSPINLOCKTMP
- unsigned long flFlags;
- # define RTSPINLOCKTMP_INITIALIZER { 0 }
-
--# elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) || defined(RT_OS_SOLARIS)
-+# elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) || defined(RT_OS_SOLARIS) || defined(RT_OS_NETBSD)
- /** The saved [R|E]FLAGS. */
- RTCCUINTREG uFlags;
- # define RTSPINLOCKTMP_INITIALIZER { 0 }
diff --git a/virtualbox/patches/patch-ae b/virtualbox/patches/patch-ae
deleted file mode 100644
index 8c49a08..0000000
--- a/virtualbox/patches/patch-ae
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2011/02/19 13:16:04 tnn2 Exp $
-
---- src/VBox/Devices/Network/lwip/src/api/sockets.c.orig 2011-01-14 20:15:13.000000000 +0000
-+++ src/VBox/Devices/Network/lwip/src/api/sockets.c
-@@ -36,6 +36,7 @@
- #ifndef _MSC_VER /* Why is errno.h included here - see lwip/arch.h -> lwip/cc.h */
- # include <errno.h>
- #endif
-+#include <time.h>
-
- #include "lwip/opt.h"
- #include "lwip/api.h"
diff --git a/virtualbox/patches/patch-af b/virtualbox/patches/patch-af
deleted file mode 100644
index 0356e4f..0000000
--- a/virtualbox/patches/patch-af
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-af,v 1.3 2011/02/19 13:16:04 tnn2 Exp $
-
---- src/VBox/Devices/Makefile.kmk.orig 2011-01-14 20:19:31.000000000 +0000
-+++ src/VBox/Devices/Makefile.kmk
-@@ -941,6 +941,12 @@ if !defined(VBOX_ONLY_EXTPACKS)
- Network/DrvTAP.cpp
- endif # freebsd
-
-+ ifeq ($(KBUILD_TARGET),netbsd)
-+ Drivers_SOURCES := $(filter-out \
-+ Storage/DrvHost% \
-+ , $(Drivers_SOURCES))
-+ Drivers_SOURCES.netbsd =
-+ endif # netbsd
-
- ifeq ($(KBUILD_TARGET),l4)
- Drivers_SOURCES = \
diff --git a/virtualbox/patches/patch-ag b/virtualbox/patches/patch-ag
deleted file mode 100644
index 3f5acc1..0000000
--- a/virtualbox/patches/patch-ag
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ag,v 1.3 2010/07/21 18:17:59 tnn2 Exp $
-
---- src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp.orig 2010-06-25 14:25:11.000000000 +0000
-+++ src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
-@@ -317,8 +317,8 @@ static void supR3HardenedGetFullExePath(
- *
- * Darwin, OS/2 and Windows all have proper APIs for getting the program file name.
- */
--#if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) || defined(RT_OS_SOLARIS)
--# ifdef RT_OS_LINUX
-+#if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) || defined(RT_OS_SOLARIS) || defined(RT_OS_NETBSD)
-+# if defined(RT_OS_LINUX) || defined(RT_OS_NETBSD)
- int cchLink = readlink("/proc/self/exe", &g_szSupLibHardenedExePath[0], sizeof(g_szSupLibHardenedExePath) - 1);
-
- # elif defined(RT_OS_SOLARIS)
-@@ -743,7 +743,7 @@ static void supR3HardenedMainDropPrivile
- egid = getegid();
- rgid = sgid = getgid();
-
--# elif defined(RT_OS_SOLARIS)
-+# elif defined(RT_OS_SOLARIS) || defined(RT_OS_NETBSD)
- /* Solaris doesn't have setresuid, but the setreuid interface is BSD
- compatible and will set the saved uid to euid when we pass it a ruid
- that isn't -1 (which we do). */
diff --git a/virtualbox/patches/patch-ah b/virtualbox/patches/patch-ah
deleted file mode 100644
index 04e23e2..0000000
--- a/virtualbox/patches/patch-ah
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2009/08/12 12:54:17 tnn2 Exp $
-
---- src/recompiler/fpu/softfloat-native.h.orig 2009-08-04 19:14:28.000000000 +0200
-+++ src/recompiler/fpu/softfloat-native.h
-@@ -1,8 +1,12 @@
- /* Native implementation of soft float functions */
- #include <math.h>
-
--#if (defined(_BSD) && !defined(__APPLE__)) || defined(HOST_SOLARIS)
--#include <ieeefp.h>
-+#if (defined(_BSD) && !defined(__APPLE__)) || defined(HOST_SOLARIS) || defined(__NetBSD__)
-+# include <ieeefp.h>
-+# if defined(__NetBSD__)
-+# define fabsl(f) fabs(f)
-+# define scalbnl(x,n) scalbn(x,n)
-+# endif
- #elif defined(_MSC_VER)
- # include <fpieee.h>
- # ifndef fabsf
-@@ -14,6 +18,10 @@
-
- #if defined(__OpenBSD__) || defined(__NetBSD__)
- #include <sys/param.h>
-+# if defined(__NetBSD__)
-+ /* XXX undo namespace pollution from sys/param.h */
-+# undef PVM
-+# endif
- #endif
-
- /*
diff --git a/virtualbox/patches/patch-ai b/virtualbox/patches/patch-ai
deleted file mode 100644
index 8cc9943..0000000
--- a/virtualbox/patches/patch-ai
+++ /dev/null
@@ -1,81 +0,0 @@
-$NetBSD: patch-ai,v 1.4 2011/02/19 13:16:04 tnn2 Exp $
-
---- src/VBox/Runtime/Makefile.kmk.orig 2011-01-18 15:28:11.000000000 +0000
-+++ src/VBox/Runtime/Makefile.kmk
-@@ -817,6 +817,58 @@ RuntimeR3_SOURCES.freebsd = \
- r3/posix/tls-posix.cpp \
- r3/posix/utf8-posix.cpp
-
-+RuntimeR3_SOURCES.netbsd = \
-+ generic/RTDirQueryInfo-generic.cpp \
-+ generic/RTDirSetTimes-generic.cpp \
-+ generic/RTFileMove-generic.cpp \
-+ generic/RTLogWriteDebugger-generic.cpp \
-+ generic/RTSystemQueryDmiString-generic.cpp \
-+ generic/RTTimeLocalNow-generic.cpp \
-+ generic/RTTimerCreate-generic.cpp \
-+ generic/RTUuidCreate-generic.cpp \
-+ generic/mppresent-generic.cpp \
-+ generic/sched-generic.cpp \
-+ generic/utf16locale-generic.cpp \
-+ generic/uuid-generic.cpp \
-+ generic/RTMpCpuId-generic.cpp \
-+ generic/RTMpCpuIdFromSetIndex-generic.cpp \
-+ generic/RTMpCpuIdToSetIndex-generic.cpp \
-+ generic/RTMpIsCpuPossible-generic.cpp \
-+ generic/RTMpGetMaxCpuId-generic.cpp \
-+ generic/RTMpGetOnlineSet-generic.cpp \
-+ generic/RTMpGetSet-generic.cpp \
-+ generic/RTMpIsCpuOnline-generic.cpp \
-+ generic/RTProcIsRunningByName-generic.cpp \
-+ generic/RTThreadGetNativeState-generic.cpp \
-+ r3/netbsd/mp-netbsd.cpp \
-+ r3/netbsd/rtProcInitExePath-netbsd.cpp \
-+ r3/posix/RTFileQueryFsSizes-posix.cpp \
-+ r3/posix/RTSystemQueryOSInfo-posix.cpp \
-+ r3/posix/dir-posix.cpp \
-+ r3/posix/env-posix.cpp \
-+ r3/posix/fileio-posix.cpp \
-+ r3/posix/filelock-posix.cpp \
-+ r3/posix/fs-posix.cpp \
-+ r3/posix/ldrNative-posix.cpp \
-+ r3/posix/path-posix.cpp \
-+ r3/posix/pathhost-posix.cpp \
-+ r3/posix/pipe-posix.cpp \
-+ r3/posix/poll-posix.cpp \
-+ r3/posix/process-posix.cpp \
-+ r3/posix/rand-posix.cpp \
-+ r3/posix/RTMpGetCount-posix.cpp \
-+ r3/posix/RTTimeNow-posix.cpp \
-+ r3/posix/semevent-posix.cpp \
-+ r3/posix/semeventmulti-posix.cpp \
-+ r3/posix/semmutex-posix.cpp \
-+ r3/posix/semrw-posix.cpp \
-+ r3/posix/thread-posix.cpp \
-+ r3/posix/time-posix.cpp \
-+ r3/posix/timelocal-posix.cpp \
-+ r3/posix/timer-posix.cpp \
-+ r3/posix/tls-posix.cpp \
-+ r3/posix/utf8-posix.cpp
-+
- RuntimeR3_SOURCES.solaris = \
- generic/RTDirQueryInfo-generic.cpp \
- generic/RTDirSetTimes-generic.cpp \
-@@ -1198,6 +1250,8 @@ VBoxRT_SOURCES.darwin += \
- r3/posix/fileaio-posix.cpp
- VBoxRT_SOURCES.freebsd += \
- r3/freebsd/fileaio-freebsd.cpp
-+VBoxRT_SOURCES.netbsd += \
-+ r3/posix/fileaio-posix.cpp
- VBoxRT_INCS = $(RuntimeR3_INCS)
- VBoxRT_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
- VBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
-@@ -1230,6 +1284,8 @@ VBoxRT_LIBS.darwin = \
- VBoxRT_LIBS.freebsd = \
- iconv \
- rt
-+VBoxRT_LIBS.netbsd = \
-+ rt
- VBoxRT_LIBS.solaris = \
- kstat \
- contract
diff --git a/virtualbox/patches/patch-aj b/virtualbox/patches/patch-aj
deleted file mode 100644
index c9a31d2..0000000
--- a/virtualbox/patches/patch-aj
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2009/08/12 12:54:17 tnn2 Exp $
-
---- include/iprt/time.h.orig 2009-08-04 19:12:18.000000000 +0200
-+++ include/iprt/time.h
-@@ -338,7 +338,7 @@ DECLINLINE(PRTTIMESPEC) RTTimeSpecSubSec
-
-
- /* PORTME: Add struct timeval guard macro here. */
--#if defined(RTTIME_INCL_TIMEVAL) || defined(_STRUCT_TIMEVAL) || defined(_SYS__TIMEVAL_H_) || defined(_SYS_TIME_H) || defined(_TIMEVAL) || defined(_LINUX_TIME_H)
-+#if defined(RTTIME_INCL_TIMEVAL) || defined(_STRUCT_TIMEVAL) || defined(_SYS__TIMEVAL_H_) || defined(_SYS_TIME_H) || defined(_TIMEVAL) || defined(_LINUX_TIME_H) || defined(_SYS_TIME_H_)
- /**
- * Gets the time as POSIX timeval.
- *
diff --git a/virtualbox/patches/patch-ak b/virtualbox/patches/patch-ak
deleted file mode 100644
index a17c179..0000000
--- a/virtualbox/patches/patch-ak
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ak,v 1.4 2011/02/19 13:16:04 tnn2 Exp $
-
---- src/VBox/Devices/Storage/DrvVD.cpp.orig 2011-01-14 20:15:15.000000000 +0000
-+++ src/VBox/Devices/Storage/DrvVD.cpp
-@@ -19,6 +19,7 @@
- /*******************************************************************************
- * Header files *
- *******************************************************************************/
-+#include <time.h> /* for struct timeval */
- #define LOG_GROUP LOG_GROUP_DRV_VD
- #include <VBox/vd.h>
- #include <VBox/vmm/pdmdrv.h>
diff --git a/virtualbox/patches/patch-al b/virtualbox/patches/patch-al
deleted file mode 100644
index 4c57789..0000000
--- a/virtualbox/patches/patch-al
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-al,v 1.4 2011/02/19 13:16:04 tnn2 Exp $
-
---- src/VBox/Runtime/r0drv/alloc-r0drv.cpp.orig 2011-01-14 20:15:19.000000000 +0000
-+++ src/VBox/Runtime/r0drv/alloc-r0drv.cpp
-@@ -177,7 +177,7 @@ RTDECL(void *) RTMemAllocZTag(size_t cb
- RT_EXPORT_SYMBOL(RTMemAllocZTag);
-
-
--RTDECL(void *) RTMemAllocVarTag(size_t cbUnaligned, const char *pszTag)
-+RTDECL(void *) RTMemAllocVarTag(size_t cbUnaligned, const char *pszTag) RT_NO_THROW
- {
- size_t cbAligned;
- if (cbUnaligned >= 16)
-@@ -189,7 +189,7 @@ RTDECL(void *) RTMemAllocVarTag(size_t c
- RT_EXPORT_SYMBOL(RTMemAllocVarTag);
-
-
--RTDECL(void *) RTMemAllocZVarTag(size_t cbUnaligned, const char *pszTag)
-+RTDECL(void *) RTMemAllocZVarTag(size_t cbUnaligned, const char *pszTag) RT_NO_THROW
- {
- size_t cbAligned;
- if (cbUnaligned >= 16)
diff --git a/virtualbox/patches/patch-am b/virtualbox/patches/patch-am
deleted file mode 100644
index 17d1243..0000000
--- a/virtualbox/patches/patch-am
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-am,v 1.1 2009/08/12 12:54:17 tnn2 Exp $
-
---- src/VBox/Runtime/r3/posix/semmutex-posix.cpp.orig 2009-08-04 19:18:58.000000000 +0200
-+++ src/VBox/Runtime/r3/posix/semmutex-posix.cpp
-@@ -190,7 +190,7 @@ RTDECL(int) RTSemMutexRequest(RTSEMMUTE
- }
- else
- {
--#ifdef RT_OS_DARWIN
-+#if defined(RT_OS_DARWIN) || defined(RT_OS_NETBSD)
- AssertMsgFailed(("Not implemented on Darwin yet because of incomplete pthreads API."));
- return VERR_NOT_IMPLEMENTED;
- #else /* !RT_OS_DARWIN */
diff --git a/virtualbox/patches/patch-an b/virtualbox/patches/patch-an
deleted file mode 100644
index 4f0fe23..0000000
--- a/virtualbox/patches/patch-an
+++ /dev/null
@@ -1,64 +0,0 @@
-$NetBSD: patch-an,v 1.4 2009/08/13 15:38:18 tnn2 Exp $
-
---- src/VBox/Devices/Audio/mixeng.c.orig 2009-08-04 19:18:09.000000000 +0200
-+++ src/VBox/Devices/Audio/mixeng.c
-@@ -153,6 +153,59 @@
- #undef IN_T
- #undef SHIFT
-
-+/* work around really bizarre preprocessor issue */
-+/* may be related to pkgsrc/emulators/qemu/patches/patch-ao */
-+#ifdef __NetBSD__
-+#define conv_natural_uint8_t_to_mono conv_natural___uint8_t_to_mono
-+#define conv_natural_uint16_t_to_mono conv_natural___uint16_t_to_mono
-+#define conv_natural_uint32_t_to_mono conv_natural___uint32_t_to_mono
-+#define conv_natural_uint8_t_to_mono conv_natural___uint8_t_to_mono
-+#define conv_swap_uint16_t_to_mono conv_swap___uint16_t_to_mono
-+#define conv_swap_uint32_t_to_mono conv_swap___uint32_t_to_mono
-+#define conv_natural_int8_t_to_mono conv_natural___int8_t_to_mono
-+#define conv_natural_int16_t_to_mono conv_natural___int16_t_to_mono
-+#define conv_natural_int32_t_to_mono conv_natural___int32_t_to_mono
-+#define conv_natural_int8_t_to_mono conv_natural___int8_t_to_mono
-+#define conv_swap_int16_t_to_mono conv_swap___int16_t_to_mono
-+#define conv_swap_int32_t_to_mono conv_swap___int32_t_to_mono
-+#define conv_natural_uint8_t_to_stereo conv_natural___uint8_t_to_stereo
-+#define conv_natural_uint16_t_to_stereo conv_natural___uint16_t_to_stereo
-+#define conv_natural_uint32_t_to_stereo conv_natural___uint32_t_to_stereo
-+#define conv_natural_uint8_t_to_stereo conv_natural___uint8_t_to_stereo
-+#define conv_swap_uint16_t_to_stereo conv_swap___uint16_t_to_stereo
-+#define conv_swap_uint32_t_to_stereo conv_swap___uint32_t_to_stereo
-+#define conv_natural_int8_t_to_stereo conv_natural___int8_t_to_stereo
-+#define conv_natural_int16_t_to_stereo conv_natural___int16_t_to_stereo
-+#define conv_natural_int32_t_to_stereo conv_natural___int32_t_to_stereo
-+#define conv_natural_int8_t_to_stereo conv_natural___int8_t_to_stereo
-+#define conv_swap_int16_t_to_stereo conv_swap___int16_t_to_stereo
-+#define conv_swap_int32_t_to_stereo conv_swap___int32_t_to_stereo
-+#define clip_natural_uint8_t_from_mono clip_natural___uint8_t_from_mono
-+#define clip_natural_uint16_t_from_mono clip_natural___uint16_t_from_mono
-+#define clip_natural_uint32_t_from_mono clip_natural___uint32_t_from_mono
-+#define clip_natural_uint8_t_from_mono clip_natural___uint8_t_from_mono
-+#define clip_swap_uint16_t_from_mono clip_swap___uint16_t_from_mono
-+#define clip_swap_uint32_t_from_mono clip_swap___uint32_t_from_mono
-+#define clip_natural_int8_t_from_mono clip_natural___int8_t_from_mono
-+#define clip_natural_int16_t_from_mono clip_natural___int16_t_from_mono
-+#define clip_natural_int32_t_from_mono clip_natural___int32_t_from_mono
-+#define clip_natural_int8_t_from_mono clip_natural___int8_t_from_mono
-+#define clip_swap_int16_t_from_mono clip_swap___int16_t_from_mono
-+#define clip_swap_int32_t_from_mono clip_swap___int32_t_from_mono
-+#define clip_natural_uint8_t_from_stereo clip_natural___uint8_t_from_stereo
-+#define clip_natural_uint16_t_from_stereo clip_natural___uint16_t_from_stereo
-+#define clip_natural_uint32_t_from_stereo clip_natural___uint32_t_from_stereo
-+#define clip_natural_uint8_t_from_stereo clip_natural___uint8_t_from_stereo
-+#define clip_swap_uint16_t_from_stereo clip_swap___uint16_t_from_stereo
-+#define clip_swap_uint32_t_from_stereo clip_swap___uint32_t_from_stereo
-+#define clip_natural_int8_t_from_stereo clip_natural___int8_t_from_stereo
-+#define clip_natural_int16_t_from_stereo clip_natural___int16_t_from_stereo
-+#define clip_natural_int32_t_from_stereo clip_natural___int32_t_from_stereo
-+#define clip_natural_int8_t_from_stereo clip_natural___int8_t_from_stereo
-+#define clip_swap_int16_t_from_stereo clip_swap___int16_t_from_stereo
-+#define clip_swap_int32_t_from_stereo clip_swap___int32_t_from_stereo
-+#endif
-+
- t_sample *mixeng_conv[2][2][2][3] = {
- {
- {
diff --git a/virtualbox/patches/patch-ao b/virtualbox/patches/patch-ao
deleted file mode 100644
index fa1ebb7..0000000
--- a/virtualbox/patches/patch-ao
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ao,v 1.4 2011/02/19 13:16:04 tnn2 Exp $
-
---- src/VBox/Runtime/r3/posix/thread-posix.cpp.orig 2011-01-14 20:15:19.000000000 +0000
-+++ src/VBox/Runtime/r3/posix/thread-posix.cpp
-@@ -36,7 +36,7 @@
- # include <unistd.h>
- # include <sys/syscall.h>
- #endif
--#if defined(RT_OS_SOLARIS)
-+#if defined(RT_OS_SOLARIS) || defined(RT_OS_NETBSD)
- # include <sched.h>
- #endif
-
-@@ -322,7 +322,7 @@ RTDECL(int) RTThreadSleep(RTMSINTERVAL c
- pthread_yield_np();
- #elif defined(RT_OS_FREEBSD) /* void pthread_yield */
- pthread_yield();
--#elif defined(RT_OS_SOLARIS)
-+#elif defined(RT_OS_SOLARIS) || defined(RT_OS_NETBSD)
- sched_yield();
- #else
- if (!pthread_yield())
-@@ -359,7 +359,7 @@ RTDECL(bool) RTThreadYield(void)
- #endif
- #ifdef RT_OS_DARWIN
- pthread_yield_np();
--#elif defined(RT_OS_SOLARIS)
-+#elif defined(RT_OS_SOLARIS) || defined(RT_OS_NETBSD)
- sched_yield();
- #else
- pthread_yield();
-@@ -412,7 +412,7 @@ RTDECL(int) RTThreadPoke(RTTHREAD hThrea
-
- RTR3DECL(int) RTThreadGetExecutionTimeMilli(uint64_t *pKernelTime, uint64_t *pUserTime)
- {
--#ifndef RT_OS_DARWIN
-+#if !defined(RT_OS_DARWIN) && !defined(RT_OS_NETBSD)
- struct timespec ts;
- int rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
- if (rc)
diff --git a/virtualbox/patches/patch-ap b/virtualbox/patches/patch-ap
deleted file mode 100644
index 10110ab..0000000
--- a/virtualbox/patches/patch-ap
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2010/07/21 18:17:59 tnn2 Exp $
-
---- src/recompiler/Makefile.kmk.orig 2010-06-25 14:26:14.000000000 +0000
-+++ src/recompiler/Makefile.kmk
-@@ -71,6 +71,7 @@ else
- VBoxRemPrimary_DEFS.solaris = HOST_SOLARIS=11
- endif
- VBoxRemPrimary_DEFS.freebsd += _BSD
-+VBoxRemPrimary_DEFS.netbsd += _BSD
- VBoxRemPrimary_DEFS.amd64 += __x86_64__
- VBoxRemPrimary_DEFS.x86 += __i386__
-
diff --git a/virtualbox/patches/patch-aq b/virtualbox/patches/patch-aq
deleted file mode 100644
index ceafe06..0000000
--- a/virtualbox/patches/patch-aq
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aq,v 1.1 2010/07/21 18:17:59 tnn2 Exp $
-
---- src/recompiler/Makefile-old.kmk.orig 2010-06-25 14:26:14.000000000 +0000
-+++ src/recompiler/Makefile-old.kmk
-@@ -117,6 +117,7 @@ endif
- # Missing fpclassify. Is there a better define or flag for this?
- $(REM_MOD)_DEFS.solaris += __C99FEATURES__
- $(REM_MOD)_DEFS.freebsd += _BSD
-+$(REM_MOD)_DEFS.netbsd += _BSD
-
- $(REM_MOD)_INCS = \
- Sun \
diff --git a/virtualbox/patches/patch-as b/virtualbox/patches/patch-as
deleted file mode 100644
index d8b8aad..0000000
--- a/virtualbox/patches/patch-as
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-as,v 1.1 2010/07/21 18:17:59 tnn2 Exp $
-
---- ./src/recompiler/target-i386/exec.h.orig 2010-07-21 17:15:37.000000000 +0000
-+++ ./src/recompiler/target-i386/exec.h
-@@ -245,7 +245,11 @@ DECLINLINE(void) stfl(target_ulong ptr,
- #define atan2 atan2l
- #define floor floorl
- #define ceil ceill
--#define ldexp ldexpl
-+#ifndef __NetBSD__
-+#define ldexp ldexpl
-+#else
-+#warning XXX tnn fixme
-+#endif
- #endif
- #else
- #define floatx_to_int32 float64_to_int32
diff --git a/virtualbox/patches/patch-at b/virtualbox/patches/patch-at
deleted file mode 100644
index 5e0b57f..0000000
--- a/virtualbox/patches/patch-at
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-at,v 1.2 2011/02/19 13:16:04 tnn2 Exp $
-
---- src/VBox/Devices/PC/Etherboot-src/Makefile.kmk.orig 2011-01-14 20:15:14.000000000 +0000
-+++ src/VBox/Devices/PC/Etherboot-src/Makefile.kmk
-@@ -18,7 +18,7 @@
- SUB_DEPTH = ../../../../..
- include $(KBUILD_PATH)/subheader.kmk
-
--if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 os2.x86 solaris.x86 solaris.amd64 win.x86 win.amd64 linux.amd64 freebsd.amd64)
-+if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 os2.x86 solaris.x86 solaris.amd64 win.x86 win.amd64 linux.amd64 freebsd.amd64 netbsd.amd64)
- #
- # Build it from a precompiled binary.
- # See notes about the binary load address and size way below.
diff --git a/virtualbox/patches/patch-au b/virtualbox/patches/patch-au
deleted file mode 100644
index 99b6299..0000000
--- a/virtualbox/patches/patch-au
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-au,v 1.1 2011/02/19 13:27:18 tnn2 Exp $
-
---- src/VBox/HostDrivers/Makefile.kmk.orig 2010-06-25 14:25:11.000000000 +0000
-+++ src/VBox/HostDrivers/Makefile.kmk
-@@ -25,12 +25,12 @@ if !defined(VBOX_ONLY_DOCS) && !defined(
- ifdef VBOX_WITH_USB
- include $(PATH_SUB_CURRENT)/VBoxUSB/Makefile.kmk
- endif
-- if1of ($(KBUILD_TARGET), darwin solaris win linux freebsd)
-+ if1of ($(KBUILD_TARGET), darwin solaris win linux freebsd netbsd)
- ifdef VBOX_WITH_NETFLT
- include $(PATH_SUB_CURRENT)/VBoxNetFlt/Makefile.kmk
- endif
- endif
-- if1of ($(KBUILD_TARGET), darwin solaris linux freebsd)
-+ if1of ($(KBUILD_TARGET), darwin solaris linux freebsd netbsd)
- ifdef VBOX_WITH_NETADP
- include $(PATH_SUB_CURRENT)/VBoxNetAdp/Makefile.kmk
- endif
diff --git a/virtualbox/patches/patch-av b/virtualbox/patches/patch-av
deleted file mode 100644
index da177a7..0000000
--- a/virtualbox/patches/patch-av
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-av,v 1.1 2011/02/19 13:27:18 tnn2 Exp $
-
---- src/VBox/HostDrivers/Support/Makefile.kmk.orig 2011-01-14 20:15:30.000000000 +0000
-+++ src/VBox/HostDrivers/Support/Makefile.kmk
-@@ -45,6 +45,7 @@ if !defined(VBOX_ONLY_DOCS) \
- ifdef VBOX_WITH_VBOXDRV
- LIBRARIES += SUPR0IdcClient
- SYSMODS.freebsd += vboxdrv
-+ SYSMODS.netbsd += vboxdrv
- SYSMODS.linux += vboxdrv
- SYSMODS.win += VBoxDrv
- SYSMODS.os2 += VBoxDrv
-@@ -52,7 +53,7 @@ if !defined(VBOX_ONLY_DOCS) \
- endif
- INSTALLS.linux += vboxdrv-mod vboxdrv-sh vboxdrv-dkms
- INSTALLS.freebsd += vboxdrv-mod vboxdrv-sh
--
-+ INSTALLS.netbsd += vboxdrv-mod vboxdrv-sh
- #
- # Include sub-makefile(s).
- #
-@@ -67,6 +68,9 @@ if !defined(VBOX_ONLY_DOCS) \
- ifeq ($(KBUILD_TARGET),freebsd)
- include $(PATH_SUB_CURRENT)/freebsd/files_vboxdrv
- endif
-+ ifeq ($(KBUILD_TARGET),netbsd)
-+ include $(PATH_SUB_CURRENT)/netbsd/files_vboxdrv
-+ endif
- endif # !VBOX_ONLY_DOCS && !VBOX_ONLY_EXTPACKS && !VBOX_ONLY_TESTSUITE
-
-
Home |
Main Index |
Thread Index |
Old Index