From c5fa588af3bc70ad201324c55f5a02b237f14919 Mon Sep 17 00:00:00 2001 From: Fabio Rossi Date: Wed, 25 Oct 2017 23:31:35 +0200 Subject: 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 --- .../vmware-modules/files/308-4.08-00-nr_anon_mapped.patch | 14 -------------- app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild | 1 - 2 files changed, 15 deletions(-) delete mode 100644 app-emulation/vmware-modules/files/308-4.08-00-nr_anon_mapped.patch (limited to 'app-emulation') 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" -- cgit v1.2.3-65-gdbad