New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/19569#issuecomment-594270321 Comment: This fixup for musl: ```diff srcpkgs/mstflint/patches/musl.patch | 11 +++++++++++ srcpkgs/mstflint/template | 2 ++ 2 files changed, 13 insertions(+) diff --git a/srcpkgs/mstflint/patches/musl.patch b/srcpkgs/mstflint/patches/musl.patch new file mode 100644 index 0000000000..524c077438 --- /dev/null +++ b/srcpkgs/mstflint/patches/musl.patch @@ -0,0 +1,11 @@ +--- mtcr_ul/mtcr_ul_com.c.orig 2020-03-04 08:19:35.889730972 +0700 ++++ mtcr_ul/mtcr_ul_com.c 2020-03-04 08:19:41.690743181 +0700 +@@ -76,7 +76,7 @@ + + #if CONFIG_ENABLE_MMAP + #include ++#include +-#include + #include + #endif + diff --git a/srcpkgs/mstflint/template b/srcpkgs/mstflint/template index 7ebe2bcd27..5dfb7283b9 100644 --- a/srcpkgs/mstflint/template +++ b/srcpkgs/mstflint/template @@ -13,6 +13,8 @@ homepage="https://github.com/Mellanox/mstflint" distfiles="https://github.com/Mellanox/mstflint/releases/download/v${version}${subvers}/${pkgname}-${version}${subvers}.tar.gz" checksum=3abc918311fc07e4add7564879bd4a8def8ccfed40962f31682c75f2ee8a58d1 +CFLAGS="-Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t" + mstflint-devel_package() { depends="${pkgname}-${version}_${revision}" short_desc+=" - development files" ```