From owner-svn-ports-all@freebsd.org Mon Nov 5 22:07:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17BD1110D67E; Mon, 5 Nov 2018 22:07:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C75B76B2B; Mon, 5 Nov 2018 22:07:09 +0000 (UTC) (envelope-from tobik@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2AC4A1D73A; Mon, 5 Nov 2018 22:07:09 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA5M793c063570; Mon, 5 Nov 2018 22:07:09 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA5M787f063566; Mon, 5 Nov 2018 22:07:08 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201811052207.wA5M787f063566@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 5 Nov 2018 22:07:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484251 - in head/math/qtoctave: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/math/qtoctave: . files X-SVN-Commit-Revision: 484251 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4C75B76B2B X-Spamd-Result: default: False [-102.75 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.66)[-0.661,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.989,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 22:07:10 -0000 Author: tobik Date: Mon Nov 5 22:07:08 2018 New Revision: 484251 URL: https://svnweb.freebsd.org/changeset/ports/484251 Log: math/qtoctave: Unbreak build with Clang 6 qtoctave/src/generate_menu.cpp:282:64: error: cannot initialize return object of type 'MenuExtCallBack *' with an rvalue of type 'bool' if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) return false; ^~~~~ http://beefy3.nyi.freebsd.org/data/112amd64-quarterly/482201/logs/qtoctave-0.10.1_4.log PR: 232985 Submitted by: w.schwarzenfeld@utanet.at Added: head/math/qtoctave/files/patch-qtoctave__src-generate_menu.cpp (contents, props changed) Modified: head/math/qtoctave/Makefile Modified: head/math/qtoctave/Makefile ============================================================================== --- head/math/qtoctave/Makefile Mon Nov 5 21:46:35 2018 (r484250) +++ head/math/qtoctave/Makefile Mon Nov 5 22:07:08 2018 (r484251) @@ -9,8 +9,6 @@ MASTER_SITES= http://forja.rediris.es/frs/download.php MAINTAINER= ports@FreeBSD.org COMMENT= Qt 4 frontend for Octave -BROKEN= fails to build - RUN_DEPENDS= octave:math/octave USE_QT= designer gui network script svg xml \ Added: head/math/qtoctave/files/patch-qtoctave__src-generate_menu.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/qtoctave/files/patch-qtoctave__src-generate_menu.cpp Mon Nov 5 22:07:08 2018 (r484251) @@ -0,0 +1,11 @@ +--- qtoctave/src/generate_menu.cpp.orig 2018-11-05 13:09:19 UTC ++++ qtoctave/src/generate_menu.cpp +@@ -279,7 +279,7 @@ bool GenerateMenu::process_menu_file(QSt + MenuExtCallBack *GenerateMenu::process_menu_file(QString _file) + { + QFile file(_file); +- if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) return false; ++ if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) return NULL; + + QString label; + MenuExtCallBack *wizard=new MenuExtCallBack();