From owner-svn-ports-head@FreeBSD.ORG Sun Feb 2 02:16:38 2014 Return-Path: Delivered-To: svn-ports-head@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 A5BDE6AB; Sun, 2 Feb 2014 02:16:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 86D7911F6; Sun, 2 Feb 2014 02:16:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s122GcWC091391; Sun, 2 Feb 2014 02:16:38 GMT (envelope-from db@svn.freebsd.org) Received: (from db@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s122GbNc091387; Sun, 2 Feb 2014 02:16:37 GMT (envelope-from db@svn.freebsd.org) Message-Id: <201402020216.s122GbNc091387@svn.freebsd.org> From: Diane Bruce Date: Sun, 2 Feb 2014 02:16:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342230 - in head/comms/trustedqsl: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 02:16:38 -0000 Author: db Date: Sun Feb 2 02:16:37 2014 New Revision: 342230 URL: http://svnweb.freebsd.org/changeset/ports/342230 QAT: https://qat.redports.org/buildarchive/r342230/ Log: - Fix runtime core - Fix minor nit in tqsl.cpp with use of WxString Reported by: Thomas Laus Added: head/comms/trustedqsl/files/patch-src_xml.cpp (contents, props changed) Modified: head/comms/trustedqsl/Makefile head/comms/trustedqsl/files/patch-apps_tqsl.cpp (contents, props changed) head/comms/trustedqsl/files/patch-src_xml.h (contents, props changed) Modified: head/comms/trustedqsl/Makefile ============================================================================== --- head/comms/trustedqsl/Makefile Sun Feb 2 00:24:43 2014 (r342229) +++ head/comms/trustedqsl/Makefile Sun Feb 2 02:16:37 2014 (r342230) @@ -2,7 +2,7 @@ PORTNAME= trustedqsl PORTVERSION= 2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MASTER_SITES= SF/${PORTNAME}/TrustedQSL/v${PORTVERSION}/ DISTNAME= tqsl-${PORTVERSION} @@ -16,11 +16,10 @@ LICENSE= BSD LIB_DEPENDS= libdb-5.so:${PORTSDIR}/databases/db5 \ libcurl.so:${PORTSDIR}/ftp/curl -CXXFLAGS +=-std=gnu++0x - PKGMESSAGE= ${WRKDIR}/pkg-message -USES= compiler:c++11-lib cmake pkgconfig +USES= cmake pkgconfig +USES= compiler:features cmake pkgconfig USE_WX= 2.8+ WX_UNICODE= yes USE_LDCONFIG= yes Modified: head/comms/trustedqsl/files/patch-apps_tqsl.cpp ============================================================================== --- head/comms/trustedqsl/files/patch-apps_tqsl.cpp Sun Feb 2 00:24:43 2014 (r342229) +++ head/comms/trustedqsl/files/patch-apps_tqsl.cpp Sun Feb 2 02:16:37 2014 (r342230) @@ -1,5 +1,5 @@ ---- apps/tqsl.cpp.orig 2013-12-12 15:52:46.737002435 -0500 -+++ apps/tqsl.cpp 2013-12-12 15:52:12.740004212 -0500 +--- apps/tqsl.cpp.orig 2013-10-20 20:33:20.000000000 -0400 ++++ apps/tqsl.cpp 2014-01-26 10:20:28.036914222 -0500 @@ -71,7 +71,7 @@ #endif #include @@ -9,6 +9,15 @@ #include "tqslwiz.h" #include "qsodatadialog.h" #include "tqslerrno.h" +@@ -1862,7 +1862,7 @@ + return TQSL_EXIT_LIB_ERROR; + } + } else { +- out<second.getElementName() != _iterName) ++ return false; ++ element = _iter->second; ++ ++_iter; ++ return true; ++} + + pair + XMLElement::getAttribute(const string& key) { Modified: head/comms/trustedqsl/files/patch-src_xml.h ============================================================================== --- head/comms/trustedqsl/files/patch-src_xml.h Sun Feb 2 00:24:43 2014 (r342229) +++ head/comms/trustedqsl/files/patch-src_xml.h Sun Feb 2 02:16:37 2014 (r342230) @@ -1,6 +1,6 @@ ---- src/xml.h.orig 2013-12-12 13:03:46.814700681 -0500 -+++ src/xml.h 2013-12-12 13:04:09.019718129 -0500 -@@ -108,12 +108,13 @@ +--- src/xml.h.orig 2013-10-20 20:33:20.000000000 -0400 ++++ src/xml.h 2014-02-01 20:20:55.798824124 -0500 +@@ -108,7 +108,6 @@ XMLElementAttributeList _attributes; XMLElementList _elements; std::vector _parsingStack; @@ -8,10 +8,19 @@ bool _iterByName; std::string _iterName; XMLElementAttributeList::iterator _aiter; - }; +@@ -132,6 +131,7 @@ + return it; + } -+static XMLElementList::iterator _iter; -+ - inline void XMLElement::clear() { - _name = _text = _pretext = _iterName = ""; - _attributes.clear(); ++#if 0 + inline bool + XMLElement::getFirstElement(XMLElement& element) { + _iterByName = false; +@@ -157,6 +157,7 @@ + ++_iter; + return true; + } ++#endif + + inline bool + XMLElement::getFirstAttribute(std::string& key, std::string& attr) {