diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-11 20:56:42 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-11 20:56:42 +0000 |
commit | 199296e63294be05bd25c20e8e648e8817fc0272 (patch) | |
tree | bba47b976e53f3bd32094a4afa4b53eccf5a000c /unmaintained/deadbeef/strdupa.patch | |
parent | 307c5c8a2103c8df5728af51929d622f1c22761d (diff) | |
download | aports-199296e63294be05bd25c20e8e648e8817fc0272.tar.bz2 aports-199296e63294be05bd25c20e8e648e8817fc0272.tar.xz |
unmaintained/deafbeef: move from community
Package does not build and has no maintainer. There are not packages depending
on it.
Diffstat (limited to 'unmaintained/deadbeef/strdupa.patch')
-rw-r--r-- | unmaintained/deadbeef/strdupa.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/unmaintained/deadbeef/strdupa.patch b/unmaintained/deadbeef/strdupa.patch new file mode 100644 index 0000000000..dd0a60c17d --- /dev/null +++ b/unmaintained/deadbeef/strdupa.patch @@ -0,0 +1,17 @@ +musl strdupa() fails to compile in c++ due to a missing cast +use deadbeef's fallback version instead + +--- a/strdupa.h ++++ b/strdupa.h +@@ -26,6 +26,10 @@ + + #include <string.h> + ++#if defined(__linux__) && !defined(__GLIBC__) ++# undef strdupa ++#endif ++ + #ifndef strdupa + # define strdupa(s) \ + ({ \ + |