Bug 71574 - ports/cad/qcad does not compile
Summary: ports/cad/qcad does not compile
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: Michael Reifenberger
Depends on:
Reported: 2004-09-11 00:20 UTC by Tage Stabell-Kulø
Modified: 2004-09-12 09:59 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tage Stabell-Kulø 2004-09-11 00:20:23 UTC
cd /usr/ports/cad/qcad
===>  Building for qcad-
c++ -c -pipe -Wall -W -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE  -DRS_NO_COMPLEX_ENTITIES -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../include -I../../dxflib/include -I../../fparser/include -I../../qcadcmd/include -I../../../../../../../local/include -I/usr/X11R6/include -Imoc/ -o obj/rs_graphic.o engine/rs_graphic.cpp
engine/rs_graphic.cpp: In member function `void RS_Graphic::fitToPage()':
engine/rs_graphic.cpp:521: error: call of overloaded `fabs(bool)' is ambiguous
/usr/include/math.h:191: error: candidates are: double fabs(double)
/usr/include/c++/3.3/cmath:328: error:                 long double 
   std::fabs(long double)
/usr/include/c++/3.3/cmath:324: error:                 float std::fabs(float)
engine/rs_graphic.cpp:514: warning: unused variable `double factor'
gmake[2]: *** [obj/rs_graphic.o] Error 1
gmake[2]: Leaving directory `/usr/ports/cad/qcad/work/qcad-'
gmake[1]: *** [lib/libqcad.a] Error 2
gmake[1]: Leaving directory `/usr/ports/cad/qcad/work/qcad-'
gmake: *** [all] Error 2
Building qcadlib failed

cd /usr/ports/cad/qcad
Comment 1 Mark Linimon freebsd_committer 2004-09-11 08:50:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mr

Over to maintainer (who is, I think, already aware of it).
Comment 2 Michael Reifenberger freebsd_committer 2004-09-12 09:58:09 UTC
State Changed
From-To: open->closed

fix from ports/71540 commited. 
Thanks for reporting!