Date: Tue, 24 Apr 2018 14:02:13 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468212 - head/devel/shiboken/files Message-ID: <201804241402.w3OE2D2b037245@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Tue Apr 24 14:02:12 2018 New Revision: 468212 URL: https://svnweb.freebsd.org/changeset/ports/468212 Log: devel/shiboken: fix build with gcc6 PR: 216047 Submitted by: jbeich Added: head/devel/shiboken/files/patch-tests_libsample_simplefile.cpp (contents, props changed) Added: head/devel/shiboken/files/patch-tests_libsample_simplefile.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/shiboken/files/patch-tests_libsample_simplefile.cpp Tue Apr 24 14:02:12 2018 (r468212) @@ -0,0 +1,18 @@ +--- tests/libsample/simplefile.cpp.orig 2018-01-31 17:26:30 UTC ++++ tests/libsample/simplefile.cpp +@@ -90,13 +90,13 @@ bool + SimpleFile::exists() const + { + std::ifstream ifile(p->m_filename); +- return ifile; ++ return static_cast<bool>(ifile); + } + + bool + SimpleFile::exists(const char* filename) + { + std::ifstream ifile(filename); +- return ifile; ++ return static_cast<bool>(ifile); + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804241402.w3OE2D2b037245>