diff --git a/srcpkgs/chromium/patches/unset-madv_free.patch b/srcpkgs/chromium/patches/unset-madv_free.patch new file mode 100644 index 00000000000..f748179fc90 --- /dev/null +++ b/srcpkgs/chromium/patches/unset-madv_free.patch @@ -0,0 +1,14 @@ +--- third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp ++++ third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp +@@ -41,6 +41,11 @@ + #include + #include + ++#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 diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index dab2f3ad520..106802297ca 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -2,7 +2,7 @@ pkgname=chromium # See http://www.chromium.org/developers/calendar for the latest version version=52.0.2743.116 -revision=1 +revision=2 short_desc="Google's attempt at creating a safer, faster, and more stable browser" maintainer="Juan RP " homepage="http://www.chromium.org/"