diff options
author | Mike Auty <ikelos@gentoo.org> | 2009-01-13 00:21:34 +0000 |
---|---|---|
committer | Mike Auty <ikelos@gentoo.org> | 2009-01-13 00:21:34 +0000 |
commit | d8299a5e633ed001af005bad034da3cbe536e28e (patch) | |
tree | 8573d4d1dd9abcf2741e5f8f5a4d8dd6e6167133 | |
parent | Adding post-install warning about Qt4 plugins needing rebuilding (diff) | |
download | gentoo-2-d8299a5e633ed001af005bad034da3cbe536e28e.tar.gz gentoo-2-d8299a5e633ed001af005bad034da3cbe536e28e.tar.bz2 gentoo-2-d8299a5e633ed001af005bad034da3cbe536e28e.zip |
Actually add the patch changes this time...
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 i686)
-rw-r--r-- | app-emulation/vmware-modules/files/patches/vmmon/040_all_kernel-2.6.27.patch | 9 | ||||
-rw-r--r-- | app-emulation/vmware-modules/files/patches/vmnet/030_all_kernel-2.6.27.patch | 39 |
2 files changed, 29 insertions, 19 deletions
diff --git a/app-emulation/vmware-modules/files/patches/vmmon/040_all_kernel-2.6.27.patch b/app-emulation/vmware-modules/files/patches/vmmon/040_all_kernel-2.6.27.patch index e24a1de41a35..f44377760cb5 100644 --- a/app-emulation/vmware-modules/files/patches/vmmon/040_all_kernel-2.6.27.patch +++ b/app-emulation/vmware-modules/files/patches/vmmon/040_all_kernel-2.6.27.patch @@ -22,15 +22,18 @@ index b9f4f61..7e9c3de 100644 return FALSE; } diff --git a/include/compat_semaphore.h b/include/compat_semaphore.h -index 6514067..b2e399d 100644 +index 6514067..d0da703 100644 --- a/include/compat_semaphore.h +++ b/include/compat_semaphore.h -@@ -2,7 +2,7 @@ +@@ -2,7 +2,11 @@ # define __COMPAT_SEMAPHORE_H__ --#include <asm/semaphore.h> ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) +#include <linux/semaphore.h> ++#else + #include <asm/semaphore.h> ++#endif /* diff --git a/app-emulation/vmware-modules/files/patches/vmnet/030_all_kernel-2.6.27.patch b/app-emulation/vmware-modules/files/patches/vmnet/030_all_kernel-2.6.27.patch index 7670978b0536..981b78c68eb8 100644 --- a/app-emulation/vmware-modules/files/patches/vmnet/030_all_kernel-2.6.27.patch +++ b/app-emulation/vmware-modules/files/patches/vmnet/030_all_kernel-2.6.27.patch @@ -1,7 +1,8 @@ -diff -pur vmnet-only.orig/bridge.c vmnet-only/bridge.c ---- vmnet-only.orig/bridge.c 2008-05-10 06:25:56.000000000 +0200 -+++ vmnet-only/bridge.c 2008-10-16 18:36:57.000000000 +0200 -@@ -274,7 +274,7 @@ VNetBridgeDevCompatible(VNetBridge *brid +diff --git a/bridge.c b/bridge.c +index cdf9e0b..700c1a2 100644 +--- a/bridge.c ++++ b/bridge.c +@@ -275,7 +275,7 @@ VNetBridgeDevCompatible(VNetBridge *bridge, // IN: Bridge struct net_device *net) // IN: Network device { #ifdef VMW_NETDEV_HAS_NET @@ -10,21 +11,26 @@ diff -pur vmnet-only.orig/bridge.c vmnet-only/bridge.c return 0; } #endif -diff -pur vmnet-only.orig/compat_semaphore.h vmnet-only/compat_semaphore.h ---- vmnet-only.orig/compat_semaphore.h 2008-05-10 06:25:56.000000000 +0200 -+++ vmnet-only/compat_semaphore.h 2008-10-16 18:37:21.000000000 +0200 -@@ -2,7 +2,7 @@ +diff --git a/compat_semaphore.h b/compat_semaphore.h +index a3a88c2..c3038d7 100644 +--- a/compat_semaphore.h ++++ b/compat_semaphore.h +@@ -6,7 +6,11 @@ # define __COMPAT_SEMAPHORE_H__ --#include <asm/semaphore.h> ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) +#include <linux/semaphore.h> ++#else + #include <asm/semaphore.h> ++#endif /* -diff -pur vmnet-only.orig/procfs.c vmnet-only/procfs.c ---- vmnet-only.orig/procfs.c 2008-05-10 06:25:56.000000000 +0200 -+++ vmnet-only/procfs.c 2008-10-16 18:36:57.000000000 +0200 +diff --git a/procfs.c b/procfs.c +index 07e894d..73d31e8 100644 +--- a/procfs.c ++++ b/procfs.c @@ -63,7 +63,7 @@ VNetProc_Init(void) { int retval; @@ -43,9 +49,10 @@ diff -pur vmnet-only.orig/procfs.c vmnet-only/procfs.c base = NULL; } -diff -pur vmnet-only.orig/vmnetInt.h vmnet-only/vmnetInt.h ---- vmnet-only.orig/vmnetInt.h 2008-05-10 06:25:56.000000000 +0200 -+++ vmnet-only/vmnetInt.h 2008-10-16 18:36:57.000000000 +0200 +diff --git a/vmnetInt.h b/vmnetInt.h +index 483c457..551be73 100644 +--- a/vmnetInt.h ++++ b/vmnetInt.h @@ -63,7 +63,7 @@ # define dev_lock_list() read_lock(&dev_base_lock) # define dev_unlock_list() read_unlock(&dev_base_lock) @@ -55,7 +62,7 @@ diff -pur vmnet-only.orig/vmnetInt.h vmnet-only/vmnetInt.h # else # define DEV_GET(x) __dev_get_by_name((x)->name) # endif -@@ -89,7 +89,7 @@ +@@ -87,7 +87,7 @@ #ifdef VMW_NETDEV_HAS_NET extern struct proto vmnet_proto; |