From owner-svn-ports-head@freebsd.org Fri Jun 24 18:05:04 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D96AB73842; Fri, 24 Jun 2016 18:05:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 204A42AEB; Fri, 24 Jun 2016 18:05:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5OI53Qe014230; Fri, 24 Jun 2016 18:05:03 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5OI53T1014228; Fri, 24 Jun 2016 18:05:03 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201606241805.u5OI53T1014228@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Fri, 24 Jun 2016 18:05:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417439 - in head/devel/qtcreator: . 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.22 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: Fri, 24 Jun 2016 18:05:04 -0000 Author: pi Date: Fri Jun 24 18:05:02 2016 New Revision: 417439 URL: https://svnweb.freebsd.org/changeset/ports/417439 Log: devel/qtcreator: fix crashes under certain circumstances A regression was detected that causes crashes under certain conditions. This is fixed by https://codereview.qt-project.org/#/c/163443/ incorporated with this updated patchset. PR: 210530 Submitted by: Ralf Nolden (kde) Modified: head/devel/qtcreator/Makefile head/devel/qtcreator/files/patch-src_plugins_projectexplorer_runconfiguration.h Modified: head/devel/qtcreator/Makefile ============================================================================== --- head/devel/qtcreator/Makefile Fri Jun 24 17:08:42 2016 (r417438) +++ head/devel/qtcreator/Makefile Fri Jun 24 18:05:02 2016 (r417439) @@ -3,6 +3,7 @@ PORTNAME= qtcreator DISTVERSION= 4.0.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION} DISTNAME= qt-creator-opensource-src-${DISTVERSION} Modified: head/devel/qtcreator/files/patch-src_plugins_projectexplorer_runconfiguration.h ============================================================================== --- head/devel/qtcreator/files/patch-src_plugins_projectexplorer_runconfiguration.h Fri Jun 24 17:08:42 2016 (r417438) +++ head/devel/qtcreator/files/patch-src_plugins_projectexplorer_runconfiguration.h Fri Jun 24 18:05:02 2016 (r417439) @@ -1,4 +1,4 @@ ---- src/plugins/projectexplorer/runconfiguration.h.orig 2016-06-21 13:37:35 UTC +--- src/plugins/projectexplorer/runconfiguration.h.orig 2016-06-24 12:44:00 UTC +++ src/plugins/projectexplorer/runconfiguration.h @@ -159,6 +159,7 @@ public: virtual ~ClonableConcept() = default; @@ -8,7 +8,7 @@ }; template -@@ -168,11 +169,14 @@ public: +@@ -168,11 +169,16 @@ public: ClonableModel(const T &data) : m_data(data) { } ~ClonableModel() Q_DECL_NOEXCEPT { } // gcc 4.7.3 ClonableConcept *clone() const override { return new ClonableModel(*this); } @@ -18,6 +18,8 @@ { - auto that = dynamic_cast *>(other.get()); - return that && m_data == that->m_data; ++ if (!other.get()) ++ return false; + if (other->typeId() != typeId()) + return false; + auto that = static_cast *>(other.get()); @@ -25,7 +27,7 @@ } T m_data; -@@ -189,7 +193,7 @@ public: +@@ -189,7 +195,7 @@ public: void operator=(Runnable other) { d = std::move(other.d); } template bool is() const { @@ -34,7 +36,7 @@ } template const T &as() const { -@@ -213,7 +217,7 @@ public: +@@ -213,7 +219,7 @@ public: void operator=(Connection other) { d = std::move(other.d); } template bool is() const {