Bug 180689 - finance/qhacc: Fix build
Summary: finance/qhacc: Fix build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-20 19:10 UTC by tkato432
Modified: 2013-07-22 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.32 KB, patch)
2013-07-20 19:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-07-20 19:10:02 UTC
- Fix build

New file:
files/patch-gui__graphing__BudgetingWindow.cpp
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-20 19:10:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-07-22 16:25:08 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-07-22 16:25:18 UTC
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() );
+ 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"