From 5924a268b6dcb2c0c274eee0b82edb201c6e164b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 2 Nov 2019 18:02:12 +0100 Subject: [PATCH] chafa: fix i686-musl build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/chafa/patches/i686-musl.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/chafa/patches/i686-musl.patch diff --git a/srcpkgs/chafa/patches/i686-musl.patch b/srcpkgs/chafa/patches/i686-musl.patch new file mode 100644 index 00000000000..7586126c37b --- /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) + {