aboutsummaryrefslogtreecommitdiffstats
path: root/community/tomahawk/musl-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/tomahawk/musl-fixes.patch')
-rw-r--r--community/tomahawk/musl-fixes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/tomahawk/musl-fixes.patch b/community/tomahawk/musl-fixes.patch
new file mode 100644
index 0000000000..78f72248d7
--- /dev/null
+++ b/community/tomahawk/musl-fixes.patch
@@ -0,0 +1,20 @@
+--- ./src/libtomahawk/accounts/ResolverAccount.cpp.orig
++++ ./src/libtomahawk/accounts/ResolverAccount.cpp
+@@ -44,6 +44,17 @@
+ #include <QFileInfo>
+ #include <QDir>
+
++#include <limits.h>
++
++#ifndef __WORDSIZE
++# if ULONG_MAX == 0xffffffffffffffff
++# define __WORDSIZE 64
++# elif ULONG_MAX == 0xffffffff
++# define __WORDSIZE 32
++# endif /* ULONG_MAX */
++#endif /* __WORDSIZE */
++
++
+ #define MANUALRESOLVERS_DIR "manualresolvers"
+
+ using namespace Tomahawk;