pkgsrc-WIP-changes archive

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

virtualbox-ose: Add patch itself for src/VBox/HostDrivers/VBoxNetFlt/ Makefile.kmk



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Wed Sep 23 21:39:56 2015 +0900
Changeset:	11e8d7a77823595386304399c399c7830731c35d

Added Files:
	virtualbox-ose/patches/patch-src_VBox_HostDrivers_VBoxNetFlt_Makefile.kmk

Log Message:
virtualbox-ose: Add patch itself for src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

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

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

diffstat:
 ...ch-src_VBox_HostDrivers_VBoxNetFlt_Makefile.kmk | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diffs:
diff --git a/virtualbox-ose/patches/patch-src_VBox_HostDrivers_VBoxNetFlt_Makefile.kmk b/virtualbox-ose/patches/patch-src_VBox_HostDrivers_VBoxNetFlt_Makefile.kmk
new file mode 100644
index 0000000..6a1a256
--- /dev/null
+++ b/virtualbox-ose/patches/patch-src_VBox_HostDrivers_VBoxNetFlt_Makefile.kmk
@@ -0,0 +1,34 @@
+$NetBSD$
+
+Add NetBSD, not tested at all, you need chunk for NetBSD in the bottom of this file.
+
+--- src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk.orig	2015-07-10 23:31:29.000000000 +0900
++++ src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk	2015-09-23 21:23:48.000000000 +0900
+@@ -313,7 +313,7 @@ $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNet
+ 
+ endif #ifeq ($(KBUILD_TARGET), win)
+ 
+-else if1of ($(KBUILD_TARGET), linux solaris freebsd) ## @todo merge this with the mixed case stuff.
++else if1of ($(KBUILD_TARGET), linux solaris netbsd freebsd) ## @todo merge this with the mixed case stuff.
+ #
+ # vboxnetflt(.ko/.o/) - The lower case driver.
+ # Note! On Solaris the name has to be <= 8 chars long.
+@@ -342,6 +342,7 @@ else if1of ($(KBUILD_TARGET), linux sola
+   vboxnetflt_SOURCES.linux = linux/VBoxNetFlt-linux.c
+   vboxnetflt_SOURCES.solaris = solaris/VBoxNetFlt-solaris.c
+   vboxnetflt_SOURCES.freebsd = freebsd/VBoxNetFlt-freebsd.c
++  vboxnetflt_SOURCES.netbsd = freebsd/VBoxNetFlt-freebsd.c
+   vboxnetflt_SOURCES = VBoxNetFlt.c
+   solaris/VBoxNetFlt-solaris.c_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
+ 
+@@ -399,8 +400,9 @@ endif # linux
+ 
+ # Gross hack for FreeBSD 7, should figure this out properly
+ ## @todo Properly generate opt_netgraph.h
+-ifeq ($(KBUILD_TARGET),freebsd)
++if1of ($(KBUILD_TARGET), freebsd netbsd) # this ifeq must go, see @todo around elif
+  vboxnetflt_DEPS.freebsd += $(PATH_OUT)/opt_netgraph.h
++ vboxnetflt_DEPS.netbsd += $(PATH_OUT)/opt_netgraph.h
+ $(PATH_OUT)/opt_netgraph.h:
+ 	echo > $(PATH_OUT)/opt_netgraph.h
+ 


Home | Main Index | Thread Index | Old Index