Date: Sun, 21 Jul 2013 02:51:04 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/180689: finance/qhacc: Fix build Message-ID: <20130721025104.7083aecb1850409ab6b6336e@yahoo.com> Resent-Message-ID: <201307201810.r6KIA2xl099414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180689 >Category: ports >Synopsis: finance/qhacc: Fix build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 20 18:10:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p1 i386 >Organization: >Environment: >Description: - Fix build New file: files/patch-gui__graphing__BudgetingWindow.cpp >How-To-Repeat: >Fix: diff -urN /usr/ports/finance/qhacc/Makefile finance/qhacc/Makefile --- /usr/ports/finance/qhacc/Makefile 2013-07-18 19:17:06.000000000 +0900 +++ finance/qhacc/Makefile 2013-07-21 00:00:00.000000000 +0900 @@ -16,13 +16,13 @@ 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> diff -urN /usr/ports/finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp --- /usr/ports/finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp 1970-01-01 09:00:00.000000000 +0900 +++ finance/qhacc/files/patch-gui__graphing__BudgetingWindow.cpp 2013-07-21 00:00:00.000000000 +0900 @@ -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() ); + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130721025104.7083aecb1850409ab6b6336e>