Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bart Ribbers
aports
Commits
12bf5ab4
Commit
12bf5ab4
authored
9 years ago
by
Sören Tempel
Browse files
Options
Downloads
Patches
Plain Diff
main/mpd: upgrade to 0.19.14
parent
f85c5513
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/mpd/APKBUILD
+8
-13
8 additions, 13 deletions
main/mpd/APKBUILD
main/mpd/musl-gcc5-fixes.patch
+0
-37
0 additions, 37 deletions
main/mpd/musl-gcc5-fixes.patch
with
8 additions
and
50 deletions
main/mpd/APKBUILD
+
8
−
13
View file @
12bf5ab4
...
...
@@ -3,7 +3,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname
=
mpd
pkgver
=
0.19.1
3
pkgver
=
0.19.1
4
case
$pkgver
in
*
.
*
.
*
)
_branch
=
${
pkgver
%.*
}
;;
*
.
*
)
_branch
=
$pkgver
;;
...
...
@@ -32,12 +32,7 @@ source="http://www.musicpd.org/download/mpd/$_branch/mpd-$pkgver.tar.xz
_builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
prepare
()
{
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
default_prepare
||
return
1
libtoolize
--force
&&
aclocal
&&
autoconf
&&
automake
--add-missing
\
||
return
1
}
...
...
@@ -82,21 +77,21 @@ package() {
"
$pkgdir
"
/var/lib/mpd/music
||
return
1
}
md5sums
=
"
016c93fc3d78bfb92e896445f04ea741
mpd-0.19.1
3
.tar.xz
md5sums
=
"
9f99340ec6b77bea4ba3729e3b76fd7c
mpd-0.19.1
4
.tar.xz
a84cce5fdb848c7d282e38698432df51 underlinking.patch
97e6eab066fc610e6e3a3b2263a6d5ba
musl-gcc5-fixes.patch
76bf696786915e7d84ea4f9483ac8a36
musl-gcc5-fixes.patch
b0c5da8706963a5ae910ff604eb87e2b stacksize.patch
afe7a40ac52e4619e5d755b3523132a8 mpd.initd
dbd301041953a5cf9c2b9de8f23eb6bb mpd.confd"
sha256sums
=
"
f1014838fa7ab2d5fe2ef7f4c101d58fdec2c4c13cfbd2462ee146c8e4919a55
mpd-0.19.1
3
.tar.xz
sha256sums
=
"
2fd23805132e5002a4d24930001a7c7d3aaf55e3bd0cd71af5385895160e99e7
mpd-0.19.1
4
.tar.xz
b3a0499cbd3f759612ad94fce00588d97e5e82af0b2bcc560869eb977067a426 underlinking.patch
f8be8d5f00576e4734d44d3ee2ad2ddd55351c25eee5a545573a264304514db9
musl-gcc5-fixes.patch
21eb5d288208a6fdf26dac37a7e629fb2221b2e1b970bd66e2992ddf70ce2aed
musl-gcc5-fixes.patch
7ae663ecc08498e1d822349cf580eb738f43218308ae0b75efe128276f8ab98a stacksize.patch
e6eb40494f583f8b22ef5dc9c4f871220ddd483f1e67cb3bf7eae31eba331479 mpd.initd
32c072f77c23c2cc2dd7c93b65b73015e0587caaf2740856132af32cee623206 mpd.confd"
sha512sums
=
"3
2125963aa1d808b65dc9b19141044e924f5fbcb635435b250d64f25b6bd69c3069d8db013de34bf5cc601951c952c930e5c88e64609e91ee858853e58140725
mpd-0.19.1
3
.tar.xz
sha512sums
=
"3
78c31033fd846c4a025c3e45ea61fd79378421371e1b4aa2ac3cf9f10d5c47d930bc6b052055f8f2c70fa98c6d471be73e3e6d6ede568057f7279753b017f40
mpd-0.19.1
4
.tar.xz
d6a98c5f60a60ddd5fa94b25864f800a6a6fb6ffe114793293d0ccc71bb5d1cdb847ca39fde4128446b55a38be85634106d5d6f2c77ee450f33631b30140781a underlinking.patch
5140ad3eb13b5e141e9b9909ad27ae2a08ac7556b3ff23f97a65ae6dc20f3856a0376b85fe8e90eb37b8fbaccd0c1002b4bc788d0abcb7541c95713e1cc98a3a
musl-gcc5-fixes.patch
1dcf0bc5446cd448242b0a82cf471ea959bc390056f2270a08b930911844117668d869d047bd5c24b03872c39e033b8b8d2a978fe9ebbe69745ac16cb389e136
musl-gcc5-fixes.patch
f425c20e18207a406f84a6a664f02625fca9d42977b1289f4ba8595406b26f6aa73b4f1cb5a1115858cb75fa7844f42d7174adba3f6af1af216c44901a1ccaa0 stacksize.patch
3725a528a45edf60e6a9ebd75c880aa63d0e71ab40c20dbc538af2d7c83ca657833b6853d9b488d635883fb7871bb76fada129b3bf8acff4bb060f98a5ad8774 mpd.initd
41b2467f5b03f5c4dd7003cd5f56f6cfc1f67af7a9aa2538d70360f839625222bdd0c4b04c33e8cd52eeecfc354da3ca22f5aaab8aee357a5774aaf3503594e7 mpd.confd"
This diff is collapsed.
Click to expand it.
main/mpd/musl-gcc5-fixes.patch
+
0
−
37
View file @
12bf5ab4
Problem has been reported upstream and closed with WONTFIX:
http://bugs.musicpd.org/view.php?id=4387
http://bugs.musicpd.org/view.php?id=4110
however...
POSIX does not permit using PTHREAD_COND_INITIALIZER except for static
initialization, and certainly does not permit using it as a value
also POSIX does not specify the type of the object (it's opaque) so if
there are any types for which their code would be invalid C++, then their
code is invalid
also, volatile in the type is necessary. without that, LTO can break the code.
--- ./src/notify.hxx.orig
+++ ./src/notify.hxx
@@ -28,7 +28,7 @@
...
...
@@ -24,25 +9,3 @@ also, volatile in the type is necessary. without that, LTO can break the code.
constexpr
#endif
notify():pending(false) {}
--- ./src/thread/PosixCond.hxx.orig
+++ ./src/thread/PosixCond.hxx
@@ -41,7 +41,7 @@
pthread_cond_t cond;
public:
-#if defined(__NetBSD__) || defined(__BIONIC__)
+#if !defined(__GLIBC__)
/* NetBSD's PTHREAD_COND_INITIALIZER is not compatible with
"constexpr" */
PosixCond() {
--- ./src/thread/PosixMutex.hxx.orig
+++ ./src/thread/PosixMutex.hxx
@@ -41,7 +41,7 @@
pthread_mutex_t mutex;
public:
-#if defined(__NetBSD__) || defined(__BIONIC__)
+#if !defined(__GLIBC__)
/* NetBSD's PTHREAD_MUTEX_INITIALIZER is not compatible with
"constexpr" */
PosixMutex() {
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment