mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
supercollider: fix musl build
This commit is contained in:
parent
effda687a4
commit
3750ef9939
2 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,18 @@
|
||||||
|
--- external_libraries/link/modules/asio-standalone/asio/include/asio/impl/error_code.ipp.orig 2020-10-26 23:22:21.954194075 +0700
|
||||||
|
+++ external_libraries/link/modules/asio-standalone/asio/include/asio/impl/error_code.ipp 2020-10-26 23:25:46.716820740 +0700
|
||||||
|
@@ -106,9 +106,14 @@
|
||||||
|
using namespace std;
|
||||||
|
strerror_r(value, buf, sizeof(buf));
|
||||||
|
return buf;
|
||||||
|
-#else
|
||||||
|
+#elif defined(__GLIBC__)
|
||||||
|
char buf[256] = "";
|
||||||
|
return strerror_r(value, buf, sizeof(buf));
|
||||||
|
+#else
|
||||||
|
+ char buf[256] = "";
|
||||||
|
+ using namespace std;
|
||||||
|
+ strerror_r(value, buf, sizeof(buf));
|
||||||
|
+ return buf;
|
||||||
|
#endif
|
||||||
|
#endif // defined(ASIO_WINDOWS_DESKTOP) || defined(__CYGWIN__)
|
||||||
|
}
|
|
@ -39,7 +39,6 @@ fi
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
makedepends+=" libglob-devel"
|
makedepends+=" libglob-devel"
|
||||||
broken="https://build.voidlinux.org/builders/x86_64-musl_builder/builds/31738/steps/shell_3/logs/stdio"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|
Loading…
Add table
Reference in a new issue