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

(-)finance/qhacc/Makefile (-2 / +2 lines)
Lines 16-28 Link Here
16
16
17
OPTIONS_DEFINE=	DOCS
17
OPTIONS_DEFINE=	DOCS
18
18
19
BROKEN=		Does not build
20
21
USE_QT4=	corelib gui sql moc_build qmake_build rcc_build uic_build
19
USE_QT4=	corelib gui sql moc_build qmake_build rcc_build uic_build
22
USE_GCC=	4.6+
20
USE_GCC=	4.6+
23
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
24
MAKE_JOBS_SAFE=	yes
22
MAKE_JOBS_SAFE=	yes
25
23
24
CXXFLAGS+=	-fpermissive
25
26
DESKTOP_ENTRIES="QHacc" "" "" "${PORTNAME}" "" ""
26
DESKTOP_ENTRIES="QHacc" "" "" "${PORTNAME}" "" ""
27
27
28
.include <bsd.port.options.mk>
28
.include <bsd.port.options.mk>
(-)finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp (+14 lines)
Line 0 Link Here
1
--- gui/graphing/BudgetingWindow.cpp.orig
2
+++ gui/graphing/BudgetingWindow.cpp
3
@@ -120,7 +120,11 @@
4
     }
5
   }
6
 
7
+#if defined(QWT_VERSION) && QWT_VERSION>=0x060100
8
+  const QwtScaleDiv * div = &widget.qwtPlot->axisScaleDiv( QwtPlot::xBottom );
9
+#else
10
   QwtScaleDiv * div = widget.qwtPlot->axisScaleDiv( QwtPlot::xBottom );
11
+#endif
12
   div->setInterval( 0, drawer->count() );
13
   widget.qwtPlot->setAxisMaxMajor( QwtPlot::xBottom, drawer->count() );
14

Return to bug 180689