void-packages/srcpkgs/cutter/patches/ksyntaxhighlighting.patch

44 lines
1.3 KiB
Diff

diff --git a/src/common/Configuration.cpp b/src/common/Configuration.cpp
index 3c309e83..47019165 100644
--- a/src/common/Configuration.cpp
+++ b/src/common/Configuration.cpp
@@ -7,9 +7,9 @@
#include <QApplication>
#ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
-# include <KSyntaxHighlighting/repository.h>
-# include <KSyntaxHighlighting/theme.h>
-# include <KSyntaxHighlighting/definition.h>
+# include <repository.h>
+# include <theme.h>
+# include <definition.h>
#endif
#include "common/ColorThemeWorker.h"
diff --git a/src/common/SyntaxHighlighter.cpp b/src/common/SyntaxHighlighter.cpp
index 64a2038e..eebb59f9 100644
--- a/src/common/SyntaxHighlighter.cpp
+++ b/src/common/SyntaxHighlighter.cpp
@@ -5,7 +5,7 @@
# include "Configuration.h"
-# include <KSyntaxHighlighting/theme.h>
+# include <theme.h>
SyntaxHighlighter::SyntaxHighlighter(QTextDocument *document)
: KSyntaxHighlighting::SyntaxHighlighter(document)
diff --git a/src/common/SyntaxHighlighter.h b/src/common/SyntaxHighlighter.h
index b9e88970..a21b4ec2 100644
--- a/src/common/SyntaxHighlighter.h
+++ b/src/common/SyntaxHighlighter.h
@@ -10,7 +10,7 @@
#ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
-# include <KSyntaxHighlighting/syntaxhighlighter.h>
+# include <syntaxhighlighter.h>
class SyntaxHighlighter : public KSyntaxHighlighting::SyntaxHighlighter
{