From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B88D1396D9 for ; Thu, 9 Nov 2017 21:56:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B176E0DCA; Thu, 9 Nov 2017 21:56:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7CE50E0DCA for ; Thu, 9 Nov 2017 21:56:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 115BC33BEAC for ; Thu, 9 Nov 2017 21:56:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A823B9795 for ; Thu, 9 Nov 2017 21:56:42 +0000 (UTC) From: "Fabio Rossi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabio Rossi" Message-ID: <1509748995.c5fa588af3bc70ad201324c55f5a02b237f14919.fabio@gentoo> Subject: [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-modules/files/, app-emulation/vmware-modules/ X-VCS-Repository: proj/vmware X-VCS-Files: app-emulation/vmware-modules/files/308-4.08-00-nr_anon_mapped.patch app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild X-VCS-Directories: app-emulation/vmware-modules/files/ app-emulation/vmware-modules/ X-VCS-Committer: fabio X-VCS-Committer-Name: Fabio Rossi X-VCS-Revision: c5fa588af3bc70ad201324c55f5a02b237f14919 X-VCS-Branch: master Date: Thu, 9 Nov 2017 21:56:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3d880595-8914-4731-97b8-40b978c877e1 X-Archives-Hash: 587fcd5e5a0bf6dbe06bc87d6969f274 commit: c5fa588af3bc70ad201324c55f5a02b237f14919 Author: Fabio Rossi inwind it> AuthorDate: Wed Oct 25 21:31:35 2017 +0000 Commit: Fabio Rossi inwind net> CommitDate: Fri Nov 3 22:43:15 2017 +0000 URL: https://gitweb.gentoo.org/proj/vmware.git/commit/?id=c5fa588a 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(-) 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"