chafa: fix i686-musl build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
0b3b29a193
commit
5924a268b6
1 changed files with 13 additions and 0 deletions
13
srcpkgs/chafa/patches/i686-musl.patch
Normal file
13
srcpkgs/chafa/patches/i686-musl.patch
Normal file
|
@ -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)
|
||||
{
|
Loading…
Reference in a new issue