aboutsummarylogtreecommitdiffstats
path: root/qt5-fix-linking-against-static-pcre.patch
diff options
context:
space:
mode:
authorMartchus2016-09-06 22:40:44 +0200
committerMartchus2016-09-06 22:41:26 +0200
commit56c03b83801b48b03a2af469ae4e6d546976e1c3 (patch)
tree0a05062d625a701deaea68826f9a2b368d667181 /qt5-fix-linking-against-static-pcre.patch
downloadaur-56c03b83801b48b03a2af469ae4e6d546976e1c3.tar.gz
Provide mingw-w64-qt5-base-dynamic variant
Just tested whether it builds, but not whether it already functions as intended.
Diffstat (limited to 'qt5-fix-linking-against-static-pcre.patch')
-rw-r--r--qt5-fix-linking-against-static-pcre.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/qt5-fix-linking-against-static-pcre.patch b/qt5-fix-linking-against-static-pcre.patch
new file mode 100644
index 000000000000..3dd77468ed37
--- /dev/null
+++ b/qt5-fix-linking-against-static-pcre.patch
@@ -0,0 +1,13 @@
+--- qtbase-opensource-src-5.1.0/src/corelib/tools/qregularexpression.cpp.orig 2013-07-11 08:23:02.687691337 +0200
++++ qtbase-opensource-src-5.1.0/src/corelib/tools/qregularexpression.cpp 2013-07-11 08:23:27.231900674 +0200
+@@ -47,6 +47,10 @@
+ #include <QtCore/qatomic.h>
+ #include <QtCore/qdatastream.h>
+
++#ifdef QT_STATIC
++#define PCRE_STATIC
++#endif
++
+ #include <pcre.h>
+
+ QT_BEGIN_NAMESPACE