diff --git a/srcpkgs/gnome-shell/patches/musl_bigstack.patch b/srcpkgs/gnome-shell/patches/musl_bigstack.patch new file mode 100644 index 00000000000..ad600116ed4 --- /dev/null +++ b/srcpkgs/gnome-shell/patches/musl_bigstack.patch @@ -0,0 +1,23 @@ +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); diff --git a/srcpkgs/gnome-shell/template b/srcpkgs/gnome-shell/template index ce5356c0d57..d3b8f83e1ba 100644 --- a/srcpkgs/gnome-shell/template +++ b/srcpkgs/gnome-shell/template @@ -1,7 +1,7 @@ # Template file for 'gnome-shell' pkgname=gnome-shell version=3.30.1 -revision=1 +revision=2 build_style=meson configure_args="-Dsystemd=false" hostmakedepends="gobject-introspection gtk-doc intltool libxslt pkg-config