spack/var/spack/repos/builtin/packages/qt/qt5-pcre.patch

34 lines
1.2 KiB
Diff
Raw Normal View History

--- a/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExp.cpp 2016-09-17 20:55:14.000000000 +0000
+++ b/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/runtime/RegExp.cpp 2017-05-17 01:55:10.000000000 +0000
@@ -44,7 +44,7 @@
#include "JIT.h"
#include "WRECGenerator.h"
#endif
-#include <pcre/pcre.h>
+#include "../pcre/pcre.h"
#endif
--- a/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.cpp 2016-09-17 20:55:14.000000000 +0000
+++ b/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.cpp 2017-05-17 01:55:51.000000000 +0000
@@ -32,7 +32,7 @@
#include "MacroAssembler.h"
#include "RegexCompiler.h"
-#include "pcre.h" // temporary, remove when fallback is removed.
+#include "../pcre/pcre.h" // temporary, remove when fallback is removed.
#if ENABLE(YARR_JIT)
--- a/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.h 2016-09-17 20:55:14.000000000 +0000
+++ b/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexJIT.h 2017-05-17 01:55:36.000000000 +0000
@@ -34,7 +34,7 @@
#include "RegexPattern.h"
#include <UString.h>
-#include <pcre.h>
+#include "../pcre/pcre.h"
struct JSRegExp; // temporary, remove when fallback is removed.
#if CPU(X86) && !COMPILER(MSVC)