summaryrefslogtreecommitdiff
path: root/mpd/stacksize.patch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-07-23 23:28:50 +0200
committerKarel Kočí <cynerd@email.cz>2020-07-23 23:28:50 +0200
commit83ad7b2c771f018091d44db757fb87b1c9e5430c (patch)
tree61595e7ab0c7beabb4aaa094d2abc903d3dc6124 /mpd/stacksize.patch
parent38a3058557879415d369e9b43c5276ff3e9763ce (diff)
downloadalpine-personal-pkgs-83ad7b2c771f018091d44db757fb87b1c9e5430c.tar.gz
alpine-personal-pkgs-83ad7b2c771f018091d44db757fb87b1c9e5430c.tar.bz2
alpine-personal-pkgs-83ad7b2c771f018091d44db757fb87b1c9e5430c.zip
mpd: remove and try to use alsa compatibility instead
Diffstat (limited to 'mpd/stacksize.patch')
-rw-r--r--mpd/stacksize.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/mpd/stacksize.patch b/mpd/stacksize.patch
deleted file mode 100644
index 291a2f2..0000000
--- a/mpd/stacksize.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./src/thread/Thread.cxx.orig
-+++ ./src/thread/Thread.cxx
-@@ -35,8 +35,12 @@
- if (handle == nullptr)
- throw MakeLastError("Failed to create thread");
- #else
-- int e = pthread_create(&handle, nullptr, ThreadProc, this);
--
-+ pthread_attr_t attr, *attrptr = nullptr;
-+ if ((pthread_attr_init(&attr) == 0)
-+ && (pthread_attr_setstacksize(&attr, 1024*1024) == 0)) {
-+ attrptr = &attr;
-+ }
-+ int e = pthread_create(&handle, attrptr, ThreadProc, this);
- if (e != 0)
- throw MakeErrno(e, "Failed to create thread");
- #endif