aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtwebkit/pic.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-14 14:23:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-14 14:47:01 +0000
commit5b4b0cf8681f025b7f690669d88f2244e3ac0773 (patch)
treeef48215c2fa012e655ee6b731a7e696e92b7ec32 /community/qt5-qtwebkit/pic.patch
parent8e6d806d685d7ac7b6543f0b1a91b3ca1e327ac1 (diff)
downloadaports-5b4b0cf8681f025b7f690669d88f2244e3ac0773.tar.bz2
aports-5b4b0cf8681f025b7f690669d88f2244e3ac0773.tar.xz
community/qt5-qt*: move from main
Diffstat (limited to 'community/qt5-qtwebkit/pic.patch')
-rw-r--r--community/qt5-qtwebkit/pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/qt5-qtwebkit/pic.patch b/community/qt5-qtwebkit/pic.patch
new file mode 100644
index 0000000000..ef8993ee3d
--- /dev/null
+++ b/community/qt5-qtwebkit/pic.patch
@@ -0,0 +1,11 @@
+--- ./Source/WTF/wtf/InlineASM.h.orig 2013-10-07 11:36:58.995128674 +0000
++++ ./Source/WTF/wtf/InlineASM.h 2013-10-07 11:37:28.058792290 +0000
+@@ -42,7 +42,7 @@
+ #define THUMB_FUNC_PARAM(name)
+ #endif
+
+-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
++#if (OS(LINUX) || OS(FREEBSD)) && (CPU(X86_64) || defined(__PIC__))
+ #define GLOBAL_REFERENCE(name) #name "@plt"
+ #elif CPU(X86) && COMPILER(MINGW)
+ #define GLOBAL_REFERENCE(name) "@" #name "@4"