aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtwebkit/pic.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-10 13:39:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-10 14:39:28 +0000
commit0b881a325f137e22f128643a20a13b18b9833a76 (patch)
treec775271319fab26104a063016e78e4202b82d08a /testing/qt5-qtwebkit/pic.patch
parenta17115daadb6b1bb099670b5a23ac47407bd0515 (diff)
downloadaports-0b881a325f137e22f128643a20a13b18b9833a76.tar.bz2
aports-0b881a325f137e22f128643a20a13b18b9833a76.tar.xz
testing/qt5-webkit: new aport
Diffstat (limited to 'testing/qt5-qtwebkit/pic.patch')
-rw-r--r--testing/qt5-qtwebkit/pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/qt5-qtwebkit/pic.patch b/testing/qt5-qtwebkit/pic.patch
new file mode 100644
index 0000000000..ef8993ee3d
--- /dev/null
+++ b/testing/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"