Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2018 10:56:00 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475520 - head/devel/qdevelop/files
Message-ID:  <201807281056.w6SAu0uq028721@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Jul 28 10:56:00 2018
New Revision: 475520
URL: https://svnweb.freebsd.org/changeset/ports/475520

Log:
  devel/qdevelop: Fix build with Clang 6
  
  src/mainimpl.cpp:82:19: error: cannot initialize a parameter of type 'QStatusBar *' with an rvalue of type 'bool'
      setStatusBar( false );
                    ^~~~~
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/qdevelop-0.28_3.log

Added:
  head/devel/qdevelop/files/patch-src_mainimpl.cpp   (contents, props changed)

Added: head/devel/qdevelop/files/patch-src_mainimpl.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/qdevelop/files/patch-src_mainimpl.cpp	Sat Jul 28 10:56:00 2018	(r475520)
@@ -0,0 +1,15 @@
+src/mainimpl.cpp:82:19: error: cannot initialize a parameter of type 'QStatusBar *' with an rvalue of type 'bool'
+    setStatusBar( false );
+                  ^~~~~
+
+--- src/mainimpl.cpp.orig	2018-07-28 10:47:16 UTC
++++ src/mainimpl.cpp
+@@ -79,7 +79,7 @@ MainImpl::MainImpl(QWidget * parent)
+         : QMainWindow(parent)
+ {
+     setupUi(this);
+-    setStatusBar( false );
++    setStatusBar( NULL );
+     m_saveBeforeBuild = true;
+     m_restoreOnStart = true;
+     m_projectManager = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807281056.w6SAu0uq028721>