diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-02-07 11:07:10 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-02-07 11:07:10 +0000 |
commit | 83e58a43039be6eb362c5c7ec8fa81c1678c80a9 (patch) | |
tree | eeb0aa207e8309b47d05c115d26565f6675129f6 /community | |
parent | 792b7175549cadf6db76cb1c7cfc9a53a70a479a (diff) | |
download | aports-83e58a43039be6eb362c5c7ec8fa81c1678c80a9.tar.bz2 aports-83e58a43039be6eb362c5c7ec8fa81c1678c80a9.tar.xz |
community/mpd: upgrade to 0.20.16
Diffstat (limited to 'community')
-rw-r--r-- | community/mpd/APKBUILD | 6 | ||||
-rw-r--r-- | community/mpd/stacksize.patch | 24 |
2 files changed, 14 insertions, 16 deletions
diff --git a/community/mpd/APKBUILD b/community/mpd/APKBUILD index 929c4a6240..56583cd176 100644 --- a/community/mpd/APKBUILD +++ b/community/mpd/APKBUILD @@ -3,7 +3,7 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> pkgname=mpd -pkgver=0.20.15 +pkgver=0.20.16 case $pkgver in *.*.*) _branch=${pkgver%.*};; *.*) _branch=$pkgver;; @@ -83,8 +83,8 @@ package() { "$pkgdir"/var/lib/mpd/music } -sha512sums="0c8ef517bd1077a7c7c687542dd5ede6449053a27b5258cde3f3a877e97b9bff6159a1a4646d5598a8e6656c5b14b6230f89f1247ac1693a82d869d9ee8e9f47 mpd-0.20.15.tar.xz +sha512sums="0d06ab5384f76c51b4a2f38dd165725d202425ea9bd4567607154b9393390bbbdf6f42a69f8cb53e1ca7e861cf0a389bedf8eec9ad0ea191fc7fc92c10557d77 mpd-0.20.16.tar.xz d6a98c5f60a60ddd5fa94b25864f800a6a6fb6ffe114793293d0ccc71bb5d1cdb847ca39fde4128446b55a38be85634106d5d6f2c77ee450f33631b30140781a underlinking.patch -f425c20e18207a406f84a6a664f02625fca9d42977b1289f4ba8595406b26f6aa73b4f1cb5a1115858cb75fa7844f42d7174adba3f6af1af216c44901a1ccaa0 stacksize.patch +f60f6f3e921d20732c1a4c31a97f28660b43fd649e767d6c39661b6a90145231a79ad3f740ae0d706380b245ad040e98b661a513463c54cea161d1f64fc261e0 stacksize.patch 3725a528a45edf60e6a9ebd75c880aa63d0e71ab40c20dbc538af2d7c83ca657833b6853d9b488d635883fb7871bb76fada129b3bf8acff4bb060f98a5ad8774 mpd.initd 41b2467f5b03f5c4dd7003cd5f56f6cfc1f67af7a9aa2538d70360f839625222bdd0c4b04c33e8cd52eeecfc354da3ca22f5aaab8aee357a5774aaf3503594e7 mpd.confd" diff --git a/community/mpd/stacksize.patch b/community/mpd/stacksize.patch index 26d6f78079..291a2f22d7 100644 --- a/community/mpd/stacksize.patch +++ b/community/mpd/stacksize.patch @@ -1,19 +1,17 @@ -diff --git a/src/thread/Thread.cxx b/src/thread/Thread.cxx -index 2932d47..fd1f3ce 100644 ---- a/src/thread/Thread.cxx -+++ b/src/thread/Thread.cxx -@@ -43,8 +43,12 @@ Thread::Start(void (*_f)(void *ctx), void *_ctx, Error &error) - #ifndef NDEBUG - creating = true; - #endif -- +--- ./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)) { ++ && (pthread_attr_setstacksize(&attr, 1024*1024) == 0)) { + attrptr = &attr; + } + int e = pthread_create(&handle, attrptr, ThreadProc, this); - - if (e != 0) { - #ifndef NDEBUG + if (e != 0) + throw MakeErrno(e, "Failed to create thread"); + #endif |