View | Details | Raw Unified | Return to bug 186735 | Differences between
and this patch

Collapse All | Expand All

(-)editors/klat4/Makefile (-5 / +4 lines)
Lines 8-21 Link Here
8
MASTER_SITES=	http://klat.algebraic.ru/
8
MASTER_SITES=	http://klat.algebraic.ru/
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	A LaTeX source editor for KDE4
11
COMMENT=	LaTeX source editor for KDE4
12
12
13
RUN_DEPENDS=	${KDE4_PREFIX}/lib/kde4/katepart.so:${PORTSDIR}/editors/kate
13
LICENSE=	GPLv2 # (or later)
14
14
15
USE_BZIP2=	yes
15
USE_BZIP2=	yes
16
USES=		cmake
16
USES=		cmake
17
USE_KDE4=	kdeprefix kdelibs automoc4
17
USE_KDE4=	automoc4 kate kdelibs kdeprefix
18
USE_QT4=	corelib qmake_build moc_build rcc_build uic_build
18
USE_QT4=	moc_build qmake_build rcc_build uic_build
19
19
20
NO_STAGE=	yes
21
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)editors/klat4/files/patch-klatexecsettingsdlgimpl.cpp (+18 lines)
Line 0 Link Here
1
--- klatexecsettingsdlgimpl.cpp.orig
2
+++ klatexecsettingsdlgimpl.cpp
3
@@ -271,6 +271,7 @@
4
 				return tmp.entry().commandLine();
5
 //			else if (index.column() == 4)
6
 //				return tmp.entry().shortcut().toString();
7
+			return QVariant();
8
 		} 
9
 		else
10
 			return QVariant();
11
@@ -294,6 +295,7 @@
12
 		return QString(i18n("Parameters"));
13
 //	else if(sect == 4)
14
 //		return QString("Shortcut");
15
+	return QString("Invisible");
16
 }
17
 
18
 void KlatExecConfigModel::slotDataChanged(const QModelIndex &top, const QModelIndex &bottom)
(-)editors/klat4/files/patch-klathtmlwidget.cpp (+21 lines)
Line 0 Link Here
1
--- klathtmlwidget.cpp.orig
2
+++ klathtmlwidget.cpp
3
@@ -73,7 +73,7 @@
4
 			}
5
 			if(cURL.protocol() == LTRTOKLATPROT && found == true)
6
 			{
7
-				for (i ,found = false ; !found && i < len ; i++)
8
+				for (i = 0, found = false ; !found && i < len ; i++)
9
 				{
10
 					if (code[i] == '}')
11
 					{
12
@@ -85,7 +85,9 @@
13
 		}
14
 		
15
 		emit signalSymbolCodeSelected(code,advance);
16
+		return found;
17
 	}
18
+	return false;
19
 }
20
 
21
 void KlatHTMLWidget::openAppDataUrl(const QString &relpath)

Return to bug 186735