summaryrefslogtreecommitdiffstats
path: root/main/tomahawk/musl-fixes.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-03 21:19:54 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-03 21:19:54 +0200
commit809362e42188a7d2716b89d6f9dd98c375616cf0 (patch)
tree4e0203ace504ae171936467c38a74a97dd1af103 /main/tomahawk/musl-fixes.patch
parent79ffc1e0a6169f5d7137bd44ad5727e22975759f (diff)
downloadaports-809362e42188a7d2716b89d6f9dd98c375616cf0.tar.bz2
aports-809362e42188a7d2716b89d6f9dd98c375616cf0.tar.xz
testing/tomahawk: move to main
Diffstat (limited to 'main/tomahawk/musl-fixes.patch')
-rw-r--r--main/tomahawk/musl-fixes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/tomahawk/musl-fixes.patch b/main/tomahawk/musl-fixes.patch
new file mode 100644
index 000000000..78f72248d
--- /dev/null
+++ b/main/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;