summaryrefslogtreecommitdiffstats
path: root/main/qt5-qtwebkit/pic.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-09 08:06:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-09 08:15:08 +0000
commit967af83a41c09a348aad6f00fc455129462b5cad (patch)
tree9ed85cb4c7156406c65f33806d20d648e84c51bc /main/qt5-qtwebkit/pic.patch
parent7dbda83b9c37a3554800c222ad674437b609966d (diff)
downloadaports-967af83a41c09a348aad6f00fc455129462b5cad.tar.bz2
aports-967af83a41c09a348aad6f00fc455129462b5cad.tar.xz
main/qt5-*: moved from testing
Diffstat (limited to 'main/qt5-qtwebkit/pic.patch')
-rw-r--r--main/qt5-qtwebkit/pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/qt5-qtwebkit/pic.patch b/main/qt5-qtwebkit/pic.patch
new file mode 100644
index 000000000..ef8993ee3
--- /dev/null
+++ b/main/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"