diff --git a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch index 9a6cad4f0f..4414670cba 100644 --- a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch +++ b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch @@ -32,22 +32,6 @@ } --- ./sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc.orig +++ ./sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc -@@ -416,12 +416,12 @@ - #endif - case __NR_epoll_create1: - case __NR_epoll_ctl: -+ case __NR_epoll_pwait: - return true; - default: - #if defined(__x86_64__) - case __NR_epoll_ctl_old: - #endif -- case __NR_epoll_pwait: - #if defined(__x86_64__) - case __NR_epoll_wait_old: - #endif ---- ./sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc.orig -+++ ./sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc @@ -494,6 +494,7 @@ case __NR_mlock: case __NR_munlock: diff --git a/srcpkgs/chromium/patches/fix-png-decoder-build.patch b/srcpkgs/chromium/patches/fix-png-decoder-build.patch new file mode 100644 index 0000000000..9c204f303b --- /dev/null +++ b/srcpkgs/chromium/patches/fix-png-decoder-build.patch @@ -0,0 +1,11 @@ +--- third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp.orig 2016-06-01 17:42:30.396115414 +0200 ++++ third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp 2016-06-01 17:43:05.182117208 +0200 +@@ -234,7 +234,7 @@ + #endif + png_uint_32 profileLength = 0; + if (png_get_iCCP(png, info, &profileName, &compressionType, &profile, &profileLength)) { +- setColorProfileAndTransform(profile, profileLength, imageHasAlpha, false /* useSRGB */); ++ setColorProfileAndTransform((const char*) profile, profileLength, imageHasAlpha, false /* useSRGB */); + } + } + #endif // PNG_iCCP_SUPPORTED diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index cb54bfa8b3..6c02046dab 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -1,14 +1,14 @@ # Template file for 'chromium' pkgname=chromium # See http://www.chromium.org/developers/calendar for the latest version -version=50.0.2661.102 -revision=2 +version=51.0.2704.79 +revision=1 short_desc="Google's attempt at creating a safer, faster, and more stable browser" maintainer="Juan RP " homepage="http://www.chromium.org/" license="BSD" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz" -checksum=12135ef890c2bd13b653a06e2a44e8f251a65fe9e91404c792d27e346c5d57c6 +checksum=2323da80158f86e465f8fe257f681816ad58d831aaebddbb5337d72c5a86a036 only_for_archs="i686 x86_64 x86_64-musl" lib32disabled=yes