gnome-shell: remove musl_bigstack.patch

Bigger Stacksize on musl systems is guaranteed by mozjs60-60.4.0_4.
This commit is contained in:
Enno Boland 2019-01-27 11:14:47 +01:00 committed by Enno Boland
parent c6db110845
commit e6892ecdb6
2 changed files with 1 additions and 24 deletions

View file

@ -1,23 +0,0 @@
diff --git a/src/main.c b/src/main.c
index 01155777c..0fbcd4390 100644
--- ./src/main.c
+++ ./src/main.c
@@ -438,6 +438,18 @@ main (int argc, char **argv)
GError *error = NULL;
int ecode;
+#ifndef __GLIBC__
+ pthread_attr_t attr;
+ if (pthread_getattr_default_np(&attr) != 0) {
+ perror("pthread_getattr_default_np");
+ } else {
+ pthread_attr_setstacksize(&attr, 8388608);
+ if (pthread_setattr_default_np(&attr) != 0) {
+ perror("pthread_setattr_default_np");
+ }
+ }
+#endif
+
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);

View file

@ -1,7 +1,7 @@
# Template file for 'gnome-shell'
pkgname=gnome-shell
version=3.30.2
revision=2
revision=3
build_style=meson
configure_args="-Dsystemd=false"
hostmakedepends="gobject-introspection gtk-doc intltool libxslt pkg-config