summaryrefslogtreecommitdiff
path: root/user/qt5-qtwebkit/pic.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 20:47:25 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 20:47:25 -0500
commit52fffdaba23c593510c80846eb6ce38034ae8614 (patch)
tree312408d676316debd99ab10e80f01c4cb4b653ab /user/qt5-qtwebkit/pic.patch
parenta9605d90ebde79903c87f335a4a8c293a1618302 (diff)
downloadpackages-52fffdaba23c593510c80846eb6ce38034ae8614.tar.gz
packages-52fffdaba23c593510c80846eb6ce38034ae8614.tar.bz2
packages-52fffdaba23c593510c80846eb6ce38034ae8614.tar.xz
packages-52fffdaba23c593510c80846eb6ce38034ae8614.zip
user/qt5-qtwebkit: add stale package so we can ship
Diffstat (limited to 'user/qt5-qtwebkit/pic.patch')
-rw-r--r--user/qt5-qtwebkit/pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/qt5-qtwebkit/pic.patch b/user/qt5-qtwebkit/pic.patch
new file mode 100644
index 000000000..ef8993ee3
--- /dev/null
+++ b/user/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"