summaryrefslogtreecommitdiff
path: root/dev-util/electron/files/chromium-glibc-2.24.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-17 09:07:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-17 09:07:15 +0000
commit9bd54251864651f49e673a08aec9ef79cfe08f04 (patch)
treebac28788ab54849c5d28edb190a687167737e736 /dev-util/electron/files/chromium-glibc-2.24.patch
parent6b933047f46efec1aa747570f945344254227457 (diff)
gentoo resync : 17.12.2017
Diffstat (limited to 'dev-util/electron/files/chromium-glibc-2.24.patch')
-rw-r--r--dev-util/electron/files/chromium-glibc-2.24.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/dev-util/electron/files/chromium-glibc-2.24.patch b/dev-util/electron/files/chromium-glibc-2.24.patch
deleted file mode 100644
index f7bfd816433f..000000000000
--- a/dev-util/electron/files/chromium-glibc-2.24.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp.orig 2017-01-05 20:50:56.329369189 +0000
-+++ b/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp 2017-01-05 20:51:32.926099779 +0000
-@@ -242,6 +242,12 @@
- ASSERT(!(len & kSystemPageOffsetMask));
- #if OS(POSIX)
- int ret = madvise(addr, len, MADV_FREE);
-+ if (ret != 0 && errno == EINVAL) {
-+ // MADV_FREE only works on Linux 4.5+ . If request failed,
-+ // retry with older MADV_DONTNEED . Note that MADV_FREE
-+ // being defined at compile time doesn't imply runtime support.
-+ ret = madvise(addr, len, MADV_DONTNEED);
-+ }
- RELEASE_ASSERT(!ret);
- #else
- setSystemPagesInaccessible(addr, len);