chafa: fix i686-musl build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
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)
|
||||
{
|
||||
Reference in New Issue
Block a user