summaryrefslogtreecommitdiff
path: root/editors/kile/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'editors/kile/patches/patch-ab')
-rw-r--r--editors/kile/patches/patch-ab54
1 files changed, 0 insertions, 54 deletions
diff --git a/editors/kile/patches/patch-ab b/editors/kile/patches/patch-ab
deleted file mode 100644
index e8c1142f234..00000000000
--- a/editors/kile/patches/patch-ab
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2011/01/29 22:23:36 markd Exp $
-
-fix build with gcc4.5
-
---- src/kile/kiledocumentinfo.cpp.orig 2008-01-06 13:45:25.000000000 +0000
-+++ src/kile/kiledocumentinfo.cpp
-@@ -585,7 +585,7 @@ QString TextInfo::matchBracket(QChar obr
-
- QString TextInfo::getTextline(uint line, TodoResult &todo)
- {
-- static QRegExp::QRegExp reComments("[^\\\\](%.*$)");
-+ static QRegExp reComments("[^\\\\](%.*$)");
-
- todo.type = -1;
- QString s = m_doc->textLine(line);
-@@ -616,7 +616,7 @@ QString TextInfo::getTextline(uint line,
-
- void TextInfo::searchTodoComment(const QString &s, uint startpos, TodoResult &todo)
- {
-- static QRegExp::QRegExp reTodoComment("\\b(TODO|FIXME)\\b(:|\\s)?\\s*(.*)");
-+ static QRegExp reTodoComment("\\b(TODO|FIXME)\\b(:|\\s)?\\s*(.*)");
-
- if ( s.find(reTodoComment,startpos) != -1 )
- {
-@@ -870,12 +870,12 @@ void LaTeXInfo::updateStruct()
- Info::updateStruct();
-
- QMapConstIterator<QString,KileStructData> it;
-- static QRegExp::QRegExp reCommand("(\\\\[a-zA-Z]+)\\s*\\*?\\s*(\\{|\\[)");
-- static QRegExp::QRegExp reRoot("\\\\documentclass|\\\\documentstyle");
-- static QRegExp::QRegExp reBD("\\\\begin\\s*\\{\\s*document\\s*\\}");
-- static QRegExp::QRegExp reReNewCommand("\\\\renewcommand.*$");
-- static QRegExp::QRegExp reNumOfParams("\\s*\\[([1-9]+)\\]");
-- static QRegExp::QRegExp reNumOfOptParams("\\s*\\[([1-9]+)\\]\\s*\\[([^\\{]*)\\]"); // the quantifier * isn't used by mistake, because also emtpy optional brackets are correct.
-+ static QRegExp reCommand("(\\\\[a-zA-Z]+)\\s*\\*?\\s*(\\{|\\[)");
-+ static QRegExp reRoot("\\\\documentclass|\\\\documentstyle");
-+ static QRegExp reBD("\\\\begin\\s*\\{\\s*document\\s*\\}");
-+ static QRegExp reReNewCommand("\\\\renewcommand.*$");
-+ static QRegExp reNumOfParams("\\s*\\[([1-9]+)\\]");
-+ static QRegExp reNumOfOptParams("\\s*\\[([1-9]+)\\]\\s*\\[([^\\{]*)\\]"); // the quantifier * isn't used by mistake, because also emtpy optional brackets are correct.
-
- int teller=0, tagStart, bd = 0;
- uint tagEnd, tagLine = 0, tagCol = 0;
-@@ -1223,8 +1223,8 @@ void BibInfo::updateStruct()
-
- KILE_DEBUG() << "==void BibInfo::updateStruct()========" << endl;
-
-- static QRegExp::QRegExp reItem("^(\\s*)@([a-zA-Z]+)");
-- static QRegExp::QRegExp reSpecial("string|preamble|comment");
-+ static QRegExp reItem("^(\\s*)@([a-zA-Z]+)");
-+ static QRegExp reSpecial("string|preamble|comment");
-
- QString s, key;
- int col = 0, startcol, startline = 0;