aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/qscintilla/files/no-external-lexers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qtopia/qscintilla/files/no-external-lexers.patch')
-rw-r--r--recipes-qtopia/qscintilla/files/no-external-lexers.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-qtopia/qscintilla/files/no-external-lexers.patch b/recipes-qtopia/qscintilla/files/no-external-lexers.patch
new file mode 100644
index 0000000..0214a53
--- /dev/null
+++ b/recipes-qtopia/qscintilla/files/no-external-lexers.patch
@@ -0,0 +1,23 @@
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- src/ExternalLexer.cpp~no-external-lexers
++++ src/ExternalLexer.cpp
+@@ -110,7 +110,7 @@
+ // Initialise some members...
+ first = NULL;
+ last = NULL;
+-
++#ifndef ZPATCH
+ // Load the DLL
+ lib = DynamicLibrary::Load(ModuleName);
+ if (lib->IsValid()) {
+@@ -155,6 +155,7 @@
+ }
+ }
+ }
++#endif
+ next = NULL;
+ }
+