virtuoso: fix *-musl build

This commit is contained in:
Jürgen Buchmüller 2020-01-27 00:35:53 +01:00
parent 1743b86b24
commit fab82ea7d5
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- libsrc/odbcsdk/include/sqltypes.h 2013-12-09 13:28:32.000000000 +0100
+++ libsrc/odbcsdk/include/sqltypes.h 2020-01-27 00:16:39.381042209 +0100
@@ -393,6 +393,7 @@
defined(_WCHAR_T) || \
defined(_WCHAR_T_DEFINED) || \
defined(_WCHAR_T_DECLARED) || \
+ defined(__DEFINED_wchar_t) || \
defined(_BSD_WCHAR_T_DEFINED_)
typedef wchar_t SQLWCHAR;
# else

View File

@ -17,7 +17,9 @@ nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/29187/steps/
disable_parallel_build=yes
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="#include <execinfo.h>";;
*-musl) makedepends+=" libexecinfo-devel"
LDFLAGS+=" -lexecinfo"
;;
esac
do_configure() {