aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-31 02:39:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-01 08:07:44 +0000
commit06b58c093e1ab7411582af663ead7b89a6941940 (patch)
treecd418d80cabbaa39f44649c4f099950919fce79a /community
parent64e69344576b636b0b9964c8154954bb58517ba5 (diff)
downloadaports-06b58c093e1ab7411582af663ead7b89a6941940.tar.bz2
aports-06b58c093e1ab7411582af663ead7b89a6941940.tar.xz
community/chromium: increase stack size
apparently even OS X's 512k is not enough so we set it to 2mb which android seems to use.
Diffstat (limited to 'community')
-rw-r--r--community/chromium/APKBUILD6
-rw-r--r--community/chromium/default-pthread-stacksize.patch6
2 files changed, 11 insertions, 1 deletions
diff --git a/community/chromium/APKBUILD b/community/chromium/APKBUILD
index febdebf23c..54cf55fee9 100644
--- a/community/chromium/APKBUILD
+++ b/community/chromium/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=chromium
pkgver=52.0.2743.116
-pkgrel=1
+pkgrel=2
pkgdesc="chromium web browser"
url="http://www.chromium.org/"
arch="x86_64"
@@ -36,6 +36,7 @@ source="https://commondatastorage.googleapis.com/chromium-browser-official/$pkgn
musl-sandbox.patch
fix-png-decoder-build.patch
unset-madv_free.patch
+ default-pthread-stacksize.patch
chromium-system-jinja-r7.patch
chromium-widevine.patch
@@ -238,6 +239,7 @@ f99a4572c0be2c2123acc2478905e01f resolver.patch
c805e026abc748d9925fab8250760bcc musl-sandbox.patch
e9add89e4b83b2a907f7f9bf7fc70836 fix-png-decoder-build.patch
183bf3b136f99a0f60f8e171ddd147e8 unset-madv_free.patch
+950326a469d134e837c7d625e2eb287e default-pthread-stacksize.patch
97b1578585ab600ed9adef4f341ccd80 chromium-system-jinja-r7.patch
de717d6430532f34fe161035dfdafcdf chromium-widevine.patch
5f1bca53835b6380b5949c96860f6894 musl-hacks.patch"
@@ -254,6 +256,7 @@ ea79f9a46116c8b56bbc69d226abd9252e4ae4d946ca695203f2298279cc2211 no-getcontext.
3d0303f9ea04b2c24e16068ea2d423fce0e37ebb2b89dde342f9e8f9d0b149b4 musl-sandbox.patch
1c3d7fb85c09f289efb971285f50ef7ecfbc2c0bf0d063da45ce2edb1c69e69a fix-png-decoder-build.patch
178fbdd552b21b7675425067b1c6ee84f6a24ec275bb40a0769d71072adfe482 unset-madv_free.patch
+2f1487328a98f77d1ed962376efcb8dfb6685f66812ee38b16d698108233fc35 default-pthread-stacksize.patch
872f5a38d8263b14308bb117828496a4093d0e6ad755d39d2c5e6857314fe071 chromium-system-jinja-r7.patch
1d1ead77250475228524770e57c17282aff9098c5efc3d7719b0df76229b8874 chromium-widevine.patch
10a4d81e1d8f70e4993ba0b7e1b9069f18c28190e6660e0f67bf24d598aa7c66 musl-hacks.patch"
@@ -270,6 +273,7 @@ d60407a8faadfd2a8294570163b4d1b1112c8a70a6f8e778fc3aff25d20613a2e26c66cd87e69c54
ce8276bb35a8d72cf58868a6331e85286b350a1aad694525ebf637499819219dd4d87ab67dd3b938830a6bd3e7172fc9bcd9c8971820d0ed95c0d141867a24fe musl-sandbox.patch
87bd7bbe2d16e6c3ad24310d6bfd5170c878f206f5bd132348f6afbad3447f44e015a9f655cce51d221d365f28cc6eec3bfc333fa4afc4bef8c9f3fcb7700fff fix-png-decoder-build.patch
a86f262d6fde8497ba448052fa8777867633eff7eb71d91e56e005e2c00951a9f447d636e1bc86b682979b6746d1355963df0a6aaf4bb7ae9577226457493e09 unset-madv_free.patch
+30e9a3a399e055dd9643eb1318f0da9a4ae7849cd93f178df572bd4166ca449330289365ec77aeb336a740164064d9fc6bdfd51471daa8b67be228468ef85d89 default-pthread-stacksize.patch
10bcc6a467b6766d13b5e41e7b7dcdbd62de7c04daad16c83037e88043032a0c118627029f91ef8a2a57faaaebc8b6f4ee16e8d1fecb5921d0d49efd60a27863 chromium-system-jinja-r7.patch
4a11b46afa8ce84bd23a8c506301b5848ee4291a764f3aed282b8a98706ece16cf9346dec6cc71b1e17812b15f43a5cbc7bc6d38ed4dcc88c12d6fcb03bd9295 chromium-widevine.patch
4043dd7a64dcb9b73e15786b407934dd1b171df8b628ab1b18718fd93f9758c76eb25d1bdf1e1a22901544185088b8f817d3e2a58154c54949704dc8cc87b84d musl-hacks.patch"
diff --git a/community/chromium/default-pthread-stacksize.patch b/community/chromium/default-pthread-stacksize.patch
new file mode 100644
index 0000000000..30d56dee6b
--- /dev/null
+++ b/community/chromium/default-pthread-stacksize.patch
@@ -0,0 +1,6 @@
+--- a/base/threading/platform_thread_linux.cc.orig 2016-08-30 21:36:06.809571185 +0200
++++ b/base/threading/platform_thread_linux.cc 2016-08-30 21:36:14.582805286 +0200
+@@ -99 +99,2 @@ size_t GetDefaultThreadStackSize(const p
+- return 0;
++ // use 2mb like android to avoid running out of space
++ return (2 * 1024 * 1024);