svn commit: r475520 - head/devel/qdevelop/files

Tobias Kortkamp tobik at FreeBSD.org
Sat Jul 28 10:56:01 UTC 2018


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;


More information about the svn-ports-all mailing list