head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.1.0.8 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2012.03.21.22.59.42; author markd; state dead; branches; next 1.1; 1.1 date 2011.01.29.22.23.36; author markd; state Exp; branches; next ; desc @@ 1.2 log @Update to 2.1.1 KDE4 version. @ text @$NetBSD: patch-ae,v 1.1 2011/01/29 22:23:36 markd Exp $ fix build with gcc4.5 --- src/kile/codecompletion.cpp.orig 2008-04-13 17:40:47.000000000 +0000 +++ src/kile/codecompletion.cpp @@@@ -38,12 +38,12 @@@@ namespace KileDocument { - static QRegExp::QRegExp reRef; - static QRegExp::QRegExp reRefExt; - static QRegExp::QRegExp reCite; - static QRegExp::QRegExp reCiteExt; - static QRegExp::QRegExp reNotRefChars("[^a-zA-Z0-9_@@\\.\\+\\-\\*\\:]"); - static QRegExp::QRegExp reNotCiteChars("[^a-zA-Z0-9_@@\\-\\:]"); + static QRegExp reRef; + static QRegExp reRefExt; + static QRegExp reCite; + static QRegExp reCiteExt; + static QRegExp reNotRefChars("[^a-zA-Z0-9_@@\\.\\+\\-\\*\\:]"); + static QRegExp reNotCiteChars("[^a-zA-Z0-9_@@\\-\\:]"); CodeCompletion::CodeCompletion(KileInfo *info) : m_ki(info), m_view(0L) { @@@@ -532,7 +532,7 @@@@ namespace KileDocument QString CodeCompletion::filterCompletionText( const QString &text, const QString &type ) { - static QRegExp::QRegExp reEnv = QRegExp("^\\\\(begin|end)[^a-zA-Z]+"); + static QRegExp reEnv = QRegExp("^\\\\(begin|end)[^a-zA-Z]+"); KILE_DEBUG() << " complete filter: " << text << " type " << type << endl; m_type = getType( text ); // remember current type @@@@ -631,7 +631,7 @@@@ namespace KileDocument QString CodeCompletion::buildEnvironmentText( const QString &text, const QString &type, const QString &prefix, uint &ypos, uint &xpos ) { - static QRegExp::QRegExp reEnv = QRegExp("^\\\\(begin|end)\\{([^\\}]*)\\}(.*)"); + static QRegExp reEnv = QRegExp("^\\\\(begin|end)\\{([^\\}]*)\\}(.*)"); if (reEnv.search(text) == -1) return text; @ 1.1 log @Fix build with gcc4.5 @ text @d1 1 a1 1 $NetBSD$ @