View | Details | Raw Unified | Return to bug 219293
Collapse All | Expand All

(-)Makefile (-1 lines)
Lines 26-31 Link Here
26
USE_QT4=	corelib gui xml rcc_build qmake_build uic_build moc_build \
26
USE_QT4=	corelib gui xml rcc_build qmake_build uic_build moc_build \
27
		svg
27
		svg
28
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
29
MAKE_JOBS_UNSAFE=	yes
30
29
31
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)files/patch-lib_propListHolder.cpp (+19 lines)
Line 0 Link Here
1
Fixes the build with GCC 6 (in addition to fixing an actual bug).
2
3
/wrkdirs/usr/ports/science/massxpert/work/massxpert-3.4.0/lib/propListHolder.cpp: In member function 'bool massXpert::PropListHolder::removeProp(const QString&)':
4
/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]
5
  if(m_propList.at(iter)->name() == name);
6
  ^~
7
/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'
8
  {
9
--- lib/propListHolder.cpp.orig	2017-07-26 17:06:18 UTC
10
+++ lib/propListHolder.cpp
11
@@ -213,7 +213,7 @@ namespace massXpert
12
   {
13
     for (int iter = 0; iter < m_propList.size(); ++iter)
14
       {
15
-	if(m_propList.at(iter)->name() == name);
16
+	if(m_propList.at(iter)->name() == name)
17
 	{
18
 	  m_propList.removeAt(iter);
19
 	  

Return to bug 219293