Index: head/graphics/nomacs/files/patch-src_DkCore_DkPluginManager.cpp =================================================================== --- head/graphics/nomacs/files/patch-src_DkCore_DkPluginManager.cpp (nonexistent) +++ head/graphics/nomacs/files/patch-src_DkCore_DkPluginManager.cpp (revision 506108) @@ -0,0 +1,19 @@ +/wrkdirs/usr/ports/graphics/nomacs/work/nomacs-3.6.1/ImageLounge/src/DkCore/DkPluginManager.cpp:371:13: warning: '&&' within '||' [-Wlogical-op-parentheses] + else if (p && p->interfaceType() == DkPluginInterface::interface_basic || p->interfaceType() == DkPluginInterface::interface_batch) { + ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ +/wrkdirs/usr/ports/graphics/nomacs/work/nomacs-3.6.1/ImageLounge/src/DkCore/DkPluginManager.cpp:371:13: note: place parentheses around the '&&' expression to silence this warning + else if (p && p->interfaceType() == DkPluginInterface::interface_basic || p->interfaceType() == DkPluginInterface::interface_batch) { + ^ + ( ) + +--- src/DkCore/DkPluginManager.cpp.orig 2019-07-07 07:04:23 UTC ++++ src/DkCore/DkPluginManager.cpp +@@ -368,7 +368,7 @@ void DkPluginContainer::run() { + connect(vPlugin->getViewPort(), SIGNAL(showToolbar(QToolBar*, bool)), vPlugin->getMainWindow(), SLOT(showToolbar(QToolBar*, bool))); + emit runPlugin(vPlugin, false); + } +- else if (p && p->interfaceType() == DkPluginInterface::interface_basic || p->interfaceType() == DkPluginInterface::interface_batch) { ++ else if (p && (p->interfaceType() == DkPluginInterface::interface_basic || p->interfaceType() == DkPluginInterface::interface_batch)) { + + QAction* a = qobject_cast(QObject::sender()); + Property changes on: head/graphics/nomacs/files/patch-src_DkCore_DkPluginManager.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property