diff options
author | Evan Teran <evan.teran@gmail.com> | 2014-10-11 11:51:14 -0400 |
---|---|---|
committer | Evan Teran <evan.teran@gmail.com> | 2014-10-11 11:51:14 -0400 |
commit | 195bd13fb5abc21ec6c31396b0a7018df192796d (patch) | |
tree | 4acadf90afb58abf653f8b5f83d6ab5ef16e0e7e | |
parent | compiles on 3.16.0 (diff) | |
download | vmware-195bd13fb5abc21ec6c31396b0a7018df192796d.tar.gz vmware-195bd13fb5abc21ec6c31396b0a7018df192796d.tar.bz2 vmware-195bd13fb5abc21ec6c31396b0a7018df192796d.zip |
now compiles on 3.17.0 :-)
-rw-r--r-- | app-emulation/vmware-modules/files/279-3.17-00-netdev.patch | 12 | ||||
-rw-r--r-- | app-emulation/vmware-modules/vmware-modules-279.2-r1.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch b/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch new file mode 100644 index 0000000..fbe1741 --- /dev/null +++ b/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch @@ -0,0 +1,12 @@ +diff -rupN vmnet-only/netif.c vmnet-only.new/netif.c +--- vmnet-only/netif.c 2013-11-06 00:40:52.000000000 -0500 ++++ vmnet-only.new/netif.c 2014-10-09 17:29:12.361307961 -0400 +@@ -149,7 +149,7 @@ VNetNetIf_Create(char *devName, // IN: + memcpy(deviceName, devName, sizeof deviceName); + NULL_TERMINATE_STRING(deviceName); + +- dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup); ++ dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup); + if (!dev) { + retval = -ENOMEM; + goto out; diff --git a/app-emulation/vmware-modules/vmware-modules-279.2-r1.ebuild b/app-emulation/vmware-modules/vmware-modules-279.2-r1.ebuild index e5875a7..d6cc8ea 100644 --- a/app-emulation/vmware-modules/vmware-modules-279.2-r1.ebuild +++ b/app-emulation/vmware-modules/vmware-modules-279.2-r1.ebuild @@ -94,6 +94,7 @@ src_prepare() { kernel_is ge 3 13 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.13-00-vmnet.patch" kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-00-readlink.patch" kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-01-vsock.patch" + kernel_is ge 3 17 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.17-00-netdev.patch" # Allow user patches so they can support RC kernels and whatever else epatch_user |