aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/unset-madv_free.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-03 15:18:58 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-03 15:20:01 +0200
commit30d0d0c694dc81ea99b750d6b88e19c3c45f57be (patch)
tree4fe0bbeda63960fb85a6fd46b6d793a975846052 /community/chromium/unset-madv_free.patch
parent48d9ebf65fd57f1c2257c88017886d8777a3826f (diff)
downloadaports-30d0d0c694dc81ea99b750d6b88e19c3c45f57be.tar.bz2
aports-30d0d0c694dc81ea99b750d6b88e19c3c45f57be.tar.xz
community/chromium: upgrade to 57.0.2987.133
Diffstat (limited to 'community/chromium/unset-madv_free.patch')
-rw-r--r--community/chromium/unset-madv_free.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/chromium/unset-madv_free.patch b/community/chromium/unset-madv_free.patch
index f748179fc9..613d37c585 100644
--- a/community/chromium/unset-madv_free.patch
+++ b/community/chromium/unset-madv_free.patch
@@ -1,10 +1,10 @@
---- third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp
-+++ third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp
-@@ -41,6 +41,11 @@
+--- base/allocator/partition_allocator/page_allocator.cc.orig
++++ base/allocator/partition_allocator/page_allocator.cc
+@@ -17,6 +17,11 @@
#include <errno.h>
#include <sys/mman.h>
-+#if OS(LINUX) && defined(MADV_FREE)
++#if defined(OS_LINUX) && defined(MADV_FREE)
+// Added in Linux 4.5, but it breaks the sandbox.
+#undef MADV_FREE
+#endif