diff --git a/srcpkgs/chromium/patches/0001-Demand-for-newer-POSIX-macro.patch b/srcpkgs/chromium/patches/0001-Demand-for-newer-POSIX-macro.patch deleted file mode 100644 index 5725efa5238..00000000000 --- a/srcpkgs/chromium/patches/0001-Demand-for-newer-POSIX-macro.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 241364c6f4d44165ce2dc707b9ad141dcc880d1b Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 27 Jun 2015 13:29:52 -0700 -Subject: [PATCH] Demand for newer POSIX macro - -Reason for change: Define _POSIX_C_SOURCE such that it demands correct -posix interfaces, netdb.h declares interfaces such as -getaddrinfo if __USE_POSIX, i.e. POSIX.1:1990 or later. -However, these interfaces were new in the 2001 edition of POSIX -therefore ask for Extension from POSIX.1:2001 since we use addrinfo -structure here. - -Change-Id: Icb1c92745d1a0ca958108ae80c270c630628729e -Signed-off-by: Khem Raj -Reviewed-on: https://boringssl-review.googlesource.com/5253 -Reviewed-by: Adam Langley ---- - crypto/bio/socket_helper.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/crypto/bio/socket_helper.c b/crypto/bio/socket_helper.c -index b1cdd1a..481278f 100644 ---- third_party/boringssl/src/crypto/bio/socket_helper.c -+++ third_party/boringssl/src/crypto/bio/socket_helper.c -@@ -12,7 +12,7 @@ - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ - --#define _POSIX_SOURCE -+#define _POSIX_C_SOURCE 200112L - - #include - #include --- -2.5.0 - diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 9e6f6d1d9a8..f82d510c6c7 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=45.0.2454.101 +version=46.0.2490.80 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/${pkgname}-browser-official/${pkgname}-${version}.tar.xz" -checksum=1b682dcaae9c89b2ebfdb192bb2f73c78c5b30a55103e7198fa3c1e21fed85fb +checksum=fe8610294664b44fdf80d9d0ed140158783474e7ae889e3a34ed32d24913fe3f # XXX musl disabled for now (needs some patches from Alpine) only_for_archs="i686 x86_64" @@ -45,6 +45,9 @@ pre_configure() { # the system ones, leading to errors during the final link stage # https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/BNGvJc08B6Q find third_party/icu -type f \! -regex '.*\.\(gyp\|gypi\|isolate\)' -delete + + # https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/9JX1N2nf4PU/discussion + touch chrome/test/data/webui/i18n_process_css_test.html } do_configure() { @@ -142,6 +145,8 @@ do_configure() { # Save space by removing DLOG and DCHECK messages (about 6% reduction). conf+=" -Dlogging_like_official_build=1" + conf+=" -Dtracing_like_official_build=1" + conf+=" -Dfieldtrial_testing_like_official_build=1" case "${XBPS_TARGET_MACHINE}" in i686*) conf+=" -Ddisable_nacl=1 -Ddisable_pnacl=1";;