aboutsummaryrefslogtreecommitdiffstats
path: root/community/tomahawk/musl-fixes.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-24 11:22:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-24 11:22:50 +0000
commit4492be03f73025ee9bc2f17a72e4a240bad93c64 (patch)
tree4fe326eb44c5ed59c7e282696c239b27cfd163a1 /community/tomahawk/musl-fixes.patch
parent5075c1edbc5832aac30c9379e23f9fb263b95841 (diff)
downloadaports-4492be03f73025ee9bc2f17a72e4a240bad93c64.tar.bz2
aports-4492be03f73025ee9bc2f17a72e4a240bad93c64.tar.xz
community/{qtkeychain,tomahawk}: move from main
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;