From owner-svn-ports-head@FreeBSD.ORG Mon Jul 22 15:25:05 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 89552D01; Mon, 22 Jul 2013 15:25:05 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A8D12450; Mon, 22 Jul 2013 15:25:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6MFP5bT013583; Mon, 22 Jul 2013 15:25:05 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6MFP5Ue013581; Mon, 22 Jul 2013 15:25:05 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201307221525.r6MFP5Ue013581@svn.freebsd.org> From: Martin Wilke Date: Mon, 22 Jul 2013 15:25:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323465 - in head/finance/qhacc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 15:25:05 -0000 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 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() ); +