HomeFreeBSD

Add patch to drop a wrong ';' in an if check.

Description

Add patch to drop a wrong ';' in an if check.

In addition to fixing an actual bug, this also fixes the build with GCC 6:

/wrkdirs/usr/ports/science/massxpert/work/massxpert-3.4.0/lib/propListHolder.cpp: In member function 'bool massXpert::PropListHolder::removeProp(const QString&)':
/wrkdirs/usr/ports/science/massxpert/work/massxpert-3.4.0/lib/propListHolder.cpp:216:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]

if(m_propList.at(iter)->name() == name);
^~

/wrkdirs/usr/ports/science/massxpert/work/massxpert-3.4.0/lib/propListHolder.cpp:217:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'

{

PR: 219293
Approved by: maintainer timeout (vg, 18 days)
MFH: 2017Q3

Details

Provenance
rakucoAuthored on
Parents
rP447877: Explicitly pass -std=gnu++03 to the build.
Branches
Unknown
Tags
Unknown