Date: Sun, 16 Dec 2018 10:21:44 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487574 - head/print/scribus/files Message-ID: <201812161021.wBGALiEQ079860@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Sun Dec 16 10:21:44 2018 New Revision: 487574 URL: https://svnweb.freebsd.org/changeset/ports/487574 Log: print/scribus: Fix build at HEAD. The error: ----- scribus-1.4.7/scribus/gtdialogs.cpp:163:31: error: ordered comparison between pointer and zero ('const void *' and 'int') if (importers.contains(res) > 0) ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ ----- Added: head/print/scribus/files/patch-scribus_gtdialogs.cpp (contents, props changed) Added: head/print/scribus/files/patch-scribus_gtdialogs.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/scribus/files/patch-scribus_gtdialogs.cpp Sun Dec 16 10:21:44 2018 (r487574) @@ -0,0 +1,11 @@ +--- scribus/gtdialogs.cpp.orig 2018-12-15 16:52:02 UTC ++++ scribus/gtdialogs.cpp +@@ -160,7 +160,7 @@ bool gtDialogs::runImporterDialog(const QStringList& i + if (imp != "false") + { + res = imp; +- if (importers.contains(res) > 0) ++ if (importers.contains(res)) + ok = true; + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812161021.wBGALiEQ079860>