FreeBSD Bugzilla – Attachment 140220 Details for
Bug 186735
editors/klat4: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.37 KB, created by
tkato432
on 2014-02-13 18:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-02-13 18:40:00 UTC
Size:
2.37 KB
patch
obsolete
>diff -urN /usr/ports/editors/klat4/Makefile editors/klat4/Makefile >--- /usr/ports/editors/klat4/Makefile 2014-02-05 19:37:50.000000000 +0900 >+++ editors/klat4/Makefile 2014-02-14 00:00:00.000000000 +0900 >@@ -8,14 +8,13 @@ > MASTER_SITES= http://klat.algebraic.ru/ > > MAINTAINER= ports@FreeBSD.org >-COMMENT= A LaTeX source editor for KDE4 >+COMMENT= LaTeX source editor for KDE4 > >-RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/katepart.so:${PORTSDIR}/editors/kate >+LICENSE= GPLv2 # (or later) > > USE_BZIP2= yes > USES= cmake >-USE_KDE4= kdeprefix kdelibs automoc4 >-USE_QT4= corelib qmake_build moc_build rcc_build uic_build >+USE_KDE4= automoc4 kate kdelibs kdeprefix >+USE_QT4= moc_build qmake_build rcc_build uic_build > >-NO_STAGE= yes > .include <bsd.port.mk> >diff -urN /usr/ports/editors/klat4/files/patch-klatexecsettingsdlgimpl.cpp editors/klat4/files/patch-klatexecsettingsdlgimpl.cpp >--- /usr/ports/editors/klat4/files/patch-klatexecsettingsdlgimpl.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ editors/klat4/files/patch-klatexecsettingsdlgimpl.cpp 2014-02-14 00:00:00.000000000 +0900 >@@ -0,0 +1,18 @@ >+--- klatexecsettingsdlgimpl.cpp.orig >++++ klatexecsettingsdlgimpl.cpp >+@@ -271,6 +271,7 @@ >+ return tmp.entry().commandLine(); >+ // else if (index.column() == 4) >+ // return tmp.entry().shortcut().toString(); >++ return QVariant(); >+ } >+ else >+ return QVariant(); >+@@ -294,6 +295,7 @@ >+ return QString(i18n("Parameters")); >+ // else if(sect == 4) >+ // return QString("Shortcut"); >++ return QString("Invisible"); >+ } >+ >+ void KlatExecConfigModel::slotDataChanged(const QModelIndex &top, const QModelIndex &bottom) >diff -urN /usr/ports/editors/klat4/files/patch-klathtmlwidget.cpp editors/klat4/files/patch-klathtmlwidget.cpp >--- /usr/ports/editors/klat4/files/patch-klathtmlwidget.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ editors/klat4/files/patch-klathtmlwidget.cpp 2014-02-14 00:00:00.000000000 +0900 >@@ -0,0 +1,21 @@ >+--- klathtmlwidget.cpp.orig >++++ klathtmlwidget.cpp >+@@ -73,7 +73,7 @@ >+ } >+ if(cURL.protocol() == LTRTOKLATPROT && found == true) >+ { >+- for (i ,found = false ; !found && i < len ; i++) >++ for (i = 0, found = false ; !found && i < len ; i++) >+ { >+ if (code[i] == '}') >+ { >+@@ -85,7 +85,9 @@ >+ } >+ >+ emit signalSymbolCodeSelected(code,advance); >++ return found; >+ } >++ return false; >+ } >+ >+ void KlatHTMLWidget::openAppDataUrl(const QString &relpath)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186735
: 140220 |
140221