svn commit: r323465 - in head/finance/qhacc: . files
Martin Wilke
miwi at FreeBSD.org
Mon Jul 22 15:25:05 UTC 2013
Author: miwi
Date: Mon Jul 22 15:25:04 2013
New Revision: 323465
URL: http://svnweb.freebsd.org/changeset/ports/323465
Log:
- Fix build
PR: 180689
Submitted by: ports fury
Added:
head/finance/qhacc/files/
head/finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp (contents, props changed)
Modified:
head/finance/qhacc/Makefile
Modified: head/finance/qhacc/Makefile
==============================================================================
--- head/finance/qhacc/Makefile Mon Jul 22 15:23:15 2013 (r323464)
+++ head/finance/qhacc/Makefile Mon Jul 22 15:25:04 2013 (r323465)
@@ -16,13 +16,13 @@ LIB_DEPENDS= qwt6:${PORTSDIR}/x11-toolki
OPTIONS_DEFINE= DOCS
-BROKEN= Does not build
-
USE_QT4= corelib gui sql moc_build qmake_build rcc_build uic_build
USE_GCC= 4.6+
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
+CXXFLAGS+= -fpermissive
+
DESKTOP_ENTRIES="QHacc" "" "" "${PORTNAME}" "" ""
.include <bsd.port.options.mk>
Added: head/finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp Mon Jul 22 15:25:04 2013 (r323465)
@@ -0,0 +1,14 @@
+--- gui/graphing/BudgetingWindow.cpp.orig
++++ gui/graphing/BudgetingWindow.cpp
+@@ -120,7 +120,11 @@
+ }
+ }
+
++#if defined(QWT_VERSION) && QWT_VERSION>=0x060100
++ const QwtScaleDiv * div = &widget.qwtPlot->axisScaleDiv( QwtPlot::xBottom );
++#else
+ QwtScaleDiv * div = widget.qwtPlot->axisScaleDiv( QwtPlot::xBottom );
++#endif
+ div->setInterval( 0, drawer->count() );
+ widget.qwtPlot->setAxisMaxMajor( QwtPlot::xBottom, drawer->count() );
+
More information about the svn-ports-all
mailing list