mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 19:32:44 +01:00
upgrade from 1.9.5, enable more plugins and formats, drop uneeded patches, enable more arches
18 lines
464 B
Diff
18 lines
464 B
Diff
musl strdupa() fails to compile in c++ due to a missing cast
|
|
use deadbeef's fallback version instead
|
|
|
|
--- a/include/deadbeef/strdupa.h
|
|
+++ b/include/deadbeef/strdupa.h
|
|
@@ -26,6 +26,10 @@
|
|
|
|
#include <string.h>
|
|
|
|
+#if defined(__linux__) && !defined(__GLIBC__)
|
|
+# undef strdupa
|
|
+#endif
|
|
+
|
|
#ifndef strdupa
|
|
# define strdupa(s) \
|
|
({ \
|
|
|