summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2017-10-25 23:31:35 +0200
committerFabio Rossi <rossi.f@inwind.it>2017-11-03 23:43:15 +0100
commitc5fa588af3bc70ad201324c55f5a02b237f14919 (patch)
tree768cb3135ebba7d4601dd74731a01598855767d8
parentapp-emulation/vmware-modules: add support to kernel 4.13 for version 12 (diff)
downloadvmware-c5fa588af3bc70ad201324c55f5a02b237f14919.tar.gz
vmware-c5fa588af3bc70ad201324c55f5a02b237f14919.tar.bz2
vmware-c5fa588af3bc70ad201324c55f5a02b237f14919.zip
app-emulation/vmware-modules: remove an unneeded patch
Removed a patch for kernel 4.8 not needed by vmware-modules-308.5.x, it was useless because already fixed upstream with a #ifdef. The same patch is still valid for vmware-modules-304.4.x
-rw-r--r--app-emulation/vmware-modules/files/308-4.08-00-nr_anon_mapped.patch14
-rw-r--r--app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild1
2 files changed, 0 insertions, 15 deletions
diff --git a/app-emulation/vmware-modules/files/308-4.08-00-nr_anon_mapped.patch b/app-emulation/vmware-modules/files/308-4.08-00-nr_anon_mapped.patch
deleted file mode 100644
index f806ccd..0000000
--- a/app-emulation/vmware-modules/files/308-4.08-00-nr_anon_mapped.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -uprNb a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c
---- a/vmmon-only/linux/hostif.c 2016-08-13 16:54:18.935207507 +0300
-+++ b/vmmon-only/linux/hostif.c 2016-08-13 16:53:52.981424256 +0300
-@@ -140,6 +140,10 @@ static DECLARE_TASKLET(timerTasklet, Hos
- */
- #define LOCKED_PAGE_SLACK 10000
-
-+#if LINUX_VERSION_CODE > KERNEL_VERSION(4, 7, 99)
-+#define NR_ANON_PAGES NR_ANON_MAPPED
-+#endif
-+
- static struct {
- Atomic_uint64 uptimeBase;
- VersionedAtomic version;
diff --git a/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild b/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild
index 59ce990..d7ebd9f 100644
--- a/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild
+++ b/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild
@@ -102,7 +102,6 @@ src_prepare() {
kernel_is ge 4 5 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.05-00-vmblock-follow_link.patch"
kernel_is ge 4 6 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.06-00-user-pages.patch"
kernel_is ge 4 7 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.07-01-readlink_copy.patch"
- kernel_is ge 4 8 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.08-00-nr_anon_mapped.patch"
kernel_is ge 4 9 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.09-00-user-pages.patch"
kernel_is ge 4 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.10-00-generic_readlink.patch"
kernel_is ge 4 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.11-00-missing-headers.patch"