aboutsummaryrefslogtreecommitdiffstats
path: root/community/deadbeef/strdupa.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-27 20:45:45 -0300
committerprspkt <prspkt@protonmail.com>2019-04-28 17:40:02 +0300
commit44f7c917afeecbf3a816474a2281f07bb3d49909 (patch)
treee90ebc7b7e17ea349e4328e50a03b6cb1a798a1d /community/deadbeef/strdupa.patch
parent2bd004d05e9f9f23d98f670befcd74b0d05498df (diff)
downloadaports-44f7c917afeecbf3a816474a2281f07bb3d49909.tar.gz
aports-44f7c917afeecbf3a816474a2281f07bb3d49909.tar.bz2
aports-44f7c917afeecbf3a816474a2281f07bb3d49909.tar.xz
community/deadbeef: upgrade to 1.8.0
- Fix license - Disable static library - Remove superfluous builddir= assignment and cd statements - Add support for libsndfile and opus files - Add patch to fix build
Diffstat (limited to 'community/deadbeef/strdupa.patch')
-rw-r--r--community/deadbeef/strdupa.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/deadbeef/strdupa.patch b/community/deadbeef/strdupa.patch
new file mode 100644
index 0000000000..dd0a60c17d
--- /dev/null
+++ b/community/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) \
+ ({ \
+