[Bug 214684] science/paraview: Update to 5.2.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 2 07:45:51 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214684

--- Comment #2 from devel at stasyan.com ---
Created attachment 177591
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=177591&action=edit
Patch for fix build in 9.3-RELEASE

I have error while
[ 55%] Building CXX object
ParaViewCore/ServerManager/Core/CMakeFiles/vtkPVServerManagerCore.dir/vtkSMCoreUtilities.cxx.o
...
/usr/ports/WORK/usr/ports/science/paraview/work/ParaView-v5.2.0/ParaViewCore/ServerManager/Core/vtkSMCoreUtilities.cxx:
In function 'bool<unnamed>::AdjustTRange(T*, EquivSizeIntT) [with T = double,
EquivSizeIntT = long long int]':
/usr/ports/WORK/usr/ports/science/paraview/work/ParaView-v5.2.0/ParaViewCore/ServerManager/Core/vtkSMCoreUtilities.cxx:237:
  instantiated from here
/usr/ports/WORK/usr/ports/science/paraview/work/ParaView-v5.2.0/ParaViewCore/ServerManager/Core/vtkSMCoreUtilities.cxx:193:
error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note:                 long int std::abs(long
int)
/usr/include/c++/4.2/cmath:89: note:                 double std::abs(double)
/usr/include/c++/4.2/cmath:93: note:                 float std::abs(float)
/usr/include/c++/4.2/cmath:97: note:                 long double std::abs(long
double)



And fix it by patch.
Is it OK in other enviroment ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list