aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/unset-madv_free.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-30 00:02:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-30 00:14:01 +0000
commit591c7b7c9c9e814f7428e6581fb124e173e0bae2 (patch)
tree98ba880d11eb18e947fb340351297f4808ba583f /community/chromium/unset-madv_free.patch
parent16dd4f3b7a4c58ce8c3d63d0347525da62ed29b2 (diff)
downloadaports-591c7b7c9c9e814f7428e6581fb124e173e0bae2.tar.bz2
aports-591c7b7c9c9e814f7428e6581fb124e173e0bae2.tar.xz
community/chromium: install the missing icudtl.dat
also add patch that should fix the error: Received signal 4 ILL_ILLOPN 0927de0d1ae4
Diffstat (limited to 'community/chromium/unset-madv_free.patch')
-rw-r--r--community/chromium/unset-madv_free.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/chromium/unset-madv_free.patch b/community/chromium/unset-madv_free.patch
new file mode 100644
index 0000000000..80e62e854c
--- /dev/null
+++ b/community/chromium/unset-madv_free.patch
@@ -0,0 +1,16 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=1361157
+
+--- a/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp
++++ b/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp
+@@ -41,6 +41,11 @@
+ #include <errno.h>
+ #include <sys/mman.h>
+
++#if OS(LINUX) && defined(MADV_FREE)
++// Added in Linux 4.5, but it breaks the sandbox.
++#undef MADV_FREE
++#endif
++
+ #ifndef MADV_FREE
+ #define MADV_FREE MADV_DONTNEED
+ #endif