diff --git a/srcpkgs/virtuoso/patches/musl-wchar_t.patch b/srcpkgs/virtuoso/patches/musl-wchar_t.patch new file mode 100644 index 00000000000..0e4dcd2e3d9 --- /dev/null +++ b/srcpkgs/virtuoso/patches/musl-wchar_t.patch @@ -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 diff --git a/srcpkgs/virtuoso/template b/srcpkgs/virtuoso/template index 3d3e3daf9d4..c2029667725 100644 --- a/srcpkgs/virtuoso/template +++ b/srcpkgs/virtuoso/template @@ -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 ";; + *-musl) makedepends+=" libexecinfo-devel" + LDFLAGS+=" -lexecinfo" + ;; esac do_configure() {