diff --git a/srcpkgs/chafa/patches/i686-musl.patch b/srcpkgs/chafa/patches/i686-musl.patch new file mode 100644 index 0000000000..7586126c37 --- /dev/null +++ b/srcpkgs/chafa/patches/i686-musl.patch @@ -0,0 +1,13 @@ +--- chafa/chafa-popcnt.c 2019-07-14 23:20:28.000000000 +0200 ++++ chafa/chafa-popcnt.c 2019-11-02 17:59:57.075337429 +0100 +@@ -23,6 +23,10 @@ + #include "chafa/chafa.h" + #include "chafa/chafa-private.h" + ++#if !defined(HAVE_POPCNT64_INTRINSICS) && !defined(__GLIBC__) ++typedef int __int32_t; ++#endif ++ + gint + chafa_pop_count_u64_builtin (guint64 v) + {