aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-09-08 11:02:57 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-08 11:03:51 +0200
commit0b0247b3a15173f05e15a7a6d547cfc4742b58f6 (patch)
tree9437220800fa9f82144410eab6b16ffc3209e8e4 /community/chromium/APKBUILD
parent1fb4e1ed62aab97941b69e0d8798cd24f254a5d8 (diff)
downloadaports-0b0247b3a15173f05e15a7a6d547cfc4742b58f6.tar.bz2
aports-0b0247b3a15173f05e15a7a6d547cfc4742b58f6.tar.xz
community/chromium: gcc6 fix and reduce stacksize
the crashes apparently came from gcc6. so we reduce stack size to 2MB again. This is what android use.
Diffstat (limited to 'community/chromium/APKBUILD')
-rw-r--r--community/chromium/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/chromium/APKBUILD b/community/chromium/APKBUILD
index 3342d3b45a..58847b1450 100644
--- a/community/chromium/APKBUILD
+++ b/community/chromium/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=chromium
pkgver=53.0.2785.92
-pkgrel=0
+pkgrel=1
pkgdesc="chromium web browser"
url="http://www.chromium.org/"
arch="x86_64"
@@ -101,6 +101,10 @@ build() {
-Duse_system_yasm=1
-Duse_system_zlib=1
"
+ # Work around bug in v8 in which GCC 6 optimizes away null pointer checks
+ # https://bugs.chromium.org/p/v8/issues/detail?id=3782
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69234
+ CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
msg "Replacing gyp files"
build/linux/unbundle/replace_gyp_files.py ${use_system} || return 1
@@ -237,7 +241,7 @@ f99a4572c0be2c2123acc2478905e01f resolver.patch
2c8de771a7c0e5e0e9fc68fa978785f7 no-getcontext.patch
c805e026abc748d9925fab8250760bcc musl-sandbox.patch
183bf3b136f99a0f60f8e171ddd147e8 unset-madv_free.patch
-609b64e5ad7d7bd57df3222d8cf6f504 default-pthread-stacksize.patch
+b034187a2c9046e8bb3e56b9055c56cf default-pthread-stacksize.patch
97b1578585ab600ed9adef4f341ccd80 chromium-system-jinja-r7.patch
de717d6430532f34fe161035dfdafcdf chromium-widevine.patch
5f1bca53835b6380b5949c96860f6894 musl-hacks.patch"
@@ -253,7 +257,7 @@ a620b4492cb28e4b0d571ba3b79ec7635506f297824d390167ec7391f23eb27e musl-fixes.pat
ea79f9a46116c8b56bbc69d226abd9252e4ae4d946ca695203f2298279cc2211 no-getcontext.patch
3d0303f9ea04b2c24e16068ea2d423fce0e37ebb2b89dde342f9e8f9d0b149b4 musl-sandbox.patch
178fbdd552b21b7675425067b1c6ee84f6a24ec275bb40a0769d71072adfe482 unset-madv_free.patch
-49af11b72edbe255f5b309ebc2228546fcf43256c09f3024f299006c7ffb8a56 default-pthread-stacksize.patch
+67b235079c768a5fb0f93203e5f13e1e4cd78ce217c48e858bca97d123a59fb8 default-pthread-stacksize.patch
872f5a38d8263b14308bb117828496a4093d0e6ad755d39d2c5e6857314fe071 chromium-system-jinja-r7.patch
1d1ead77250475228524770e57c17282aff9098c5efc3d7719b0df76229b8874 chromium-widevine.patch
10a4d81e1d8f70e4993ba0b7e1b9069f18c28190e6660e0f67bf24d598aa7c66 musl-hacks.patch"
@@ -269,7 +273,7 @@ d60407a8faadfd2a8294570163b4d1b1112c8a70a6f8e778fc3aff25d20613a2e26c66cd87e69c54
42d9a6ebea2d95cdc169b921cc1a1b846cf500997059fd3084de09e21f00b63b76e60c6124f4af247d402ff5ca3f4bf8867a6f2c78198c05b4273ca01fb29241 no-getcontext.patch
ce8276bb35a8d72cf58868a6331e85286b350a1aad694525ebf637499819219dd4d87ab67dd3b938830a6bd3e7172fc9bcd9c8971820d0ed95c0d141867a24fe musl-sandbox.patch
a86f262d6fde8497ba448052fa8777867633eff7eb71d91e56e005e2c00951a9f447d636e1bc86b682979b6746d1355963df0a6aaf4bb7ae9577226457493e09 unset-madv_free.patch
-6894dd6788d80abc7a8f90828d77e28a1a4bea6b815ec81f15f1e6f181400f90dbb8efe9eb86193614c1c4c173a44d81144053e631c12e0c23779a718cc2db10 default-pthread-stacksize.patch
+2767cbfda98a6ec40ccccab759c5de53155396c15fdb9789bf246947816e9f06833ce4730dc4845a936c1570951b88e78c098de244ee0706952375e679275ef2 default-pthread-stacksize.patch
10bcc6a467b6766d13b5e41e7b7dcdbd62de7c04daad16c83037e88043032a0c118627029f91ef8a2a57faaaebc8b6f4ee16e8d1fecb5921d0d49efd60a27863 chromium-system-jinja-r7.patch
4a11b46afa8ce84bd23a8c506301b5848ee4291a764f3aed282b8a98706ece16cf9346dec6cc71b1e17812b15f43a5cbc7bc6d38ed4dcc88c12d6fcb03bd9295 chromium-widevine.patch
4043dd7a64dcb9b73e15786b407934dd1b171df8b628ab1b18718fd93f9758c76eb25d1bdf1e1a22901544185088b8f817d3e2a58154c54949704dc8cc87b84d musl-hacks.patch"