From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 13 18:40:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34587D66 for ; Thu, 13 Feb 2014 18:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 10A6D137A for ; Thu, 13 Feb 2014 18:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1DIe0cx017327 for ; Thu, 13 Feb 2014 18:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1DIe0q6017326; Thu, 13 Feb 2014 18:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 13 Feb 2014 18:40:00 GMT Resent-Message-Id: <201402131840.s1DIe0q6017326@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3B42994 for ; Thu, 13 Feb 2014 18:30:34 +0000 (UTC) Received: from omta02.auone-net.jp (mail-or2-f145.auone-net.jp [111.87.219.145]) by mx1.freebsd.org (Postfix) with ESMTP id 946041291 for ; Thu, 13 Feb 2014 18:30:34 +0000 (UTC) Received: from coppermine.my.domain (ZT034098.ppp.dion.ne.jp [59.128.34.98]) by omta02.auone-net.jp (au one net mail) with ESMTP id 53BA91560010 for ; Fri, 14 Feb 2014 03:30:32 +0900 (JST) Message-Id: <20140214030527.4fca55a9e6bf6f856ab93186@yahoo.com> Date: Fri, 14 Feb 2014 03:05:27 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/186735: editors/klat4: Fix build with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2014 18:40:01 -0000 >Number: 186735 >Category: ports >Synopsis: editors/klat4: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 13 18:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p7 i386 >Organization: >Environment: >Description: - Fix build with clang - Add LICENSE New file: files/patch-klatexecsettingsdlgimpl.cpp files/patch-klathtmlwidget.cpp >How-To-Repeat: >Fix: 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 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) >Release-Note: >Audit-Trail: >Unformatted: