Bug 36331
| Summary: | Fails to build when pcre.h is present in /usr/local/include | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yuval Tal <yuvalt> |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | ahmad.saleem792 |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Other | ||
| OS: | Linux | ||
Yuval Tal
Building with QT, my spec points adds -I/usr/local/include which has pcre.h. Compilation fails, since you include <pcre.h>, which means the pcre.h in WebKit. This fixes it:
Index: JavaScriptCore/yarr/RegexJIT.h
===================================================================
--- JavaScriptCore/yarr/RegexJIT.h (revision 56179)
+++ JavaScriptCore/yarr/RegexJIT.h (working copy)
@@ -32,7 +32,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)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
QT port is gone now. There is work done on upstream to revive it but I can't find this header via searchfox.org, so it might not be required.
Changing to 'RESOLVED WONTFIX' because it was never confirmed.