Date: Wed, 2 Oct 2013 12:00:31 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329041 - head/science/paraview/files Message-ID: <201310021200.r92C0Vi8010461@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Oct 2 12:00:31 2013 New Revision: 329041 URL: http://svnweb.freebsd.org/changeset/ports/329041 Log: science/paraview: add <unistd.h>, <cstddef>, other c++ fixes The non-header fix addresses the error, "calls to overloaded operations cannot appear in a constant-expression". The fix was suggested on various bug trackers. Approved by: portmgr (bapt, implicit) Added: head/science/paraview/files/patch-Qt_Core_pqServerManagerSelectionModel.h (contents, props changed) head/science/paraview/files/patch-Utilities_Xdmf2_vtk_Testing_Cxx_XdmfTestVTKIO.cxx (contents, props changed) head/science/paraview/files/patch-VTK_Wrapping_Python_PyVTKObject.cxx (contents, props changed) Added: head/science/paraview/files/patch-Qt_Core_pqServerManagerSelectionModel.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/paraview/files/patch-Qt_Core_pqServerManagerSelectionModel.h Wed Oct 2 12:00:31 2013 (r329041) @@ -0,0 +1,11 @@ +--- Qt/Core/pqServerManagerSelectionModel.h.orig 2011-04-13 16:16:49.000000000 +0000 ++++ Qt/Core/pqServerManagerSelectionModel.h +@@ -68,7 +68,7 @@ public: + Clear = QItemSelectionModel::Clear, + Select = QItemSelectionModel::Select, + Deselect = QItemSelectionModel::Deselect, +- ClearAndSelect = Clear | Select ++ ClearAndSelect = static_cast<int>(Clear) | static_cast<int>(Select) + }; + Q_DECLARE_FLAGS(SelectionFlags, SelectionFlag) + Added: head/science/paraview/files/patch-Utilities_Xdmf2_vtk_Testing_Cxx_XdmfTestVTKIO.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/paraview/files/patch-Utilities_Xdmf2_vtk_Testing_Cxx_XdmfTestVTKIO.cxx Wed Oct 2 12:00:31 2013 (r329041) @@ -0,0 +1,10 @@ +--- Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx.orig 2011-04-13 16:17:00.000000000 +0000 ++++ Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx +@@ -21,6 +21,7 @@ + //files around for inspection. Otherwise it deletes the temporary files it + //creates and returns success. + ++#include <unistd.h> + #include "vtkXdmfWriter.h" + + #include "vtkCellData.h" Added: head/science/paraview/files/patch-VTK_Wrapping_Python_PyVTKObject.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/paraview/files/patch-VTK_Wrapping_Python_PyVTKObject.cxx Wed Oct 2 12:00:31 2013 (r329041) @@ -0,0 +1,10 @@ +--- VTK/Wrapping/Python/PyVTKObject.cxx.orig 2011-04-13 16:17:36.000000000 +0000 ++++ VTK/Wrapping/Python/PyVTKObject.cxx +@@ -28,6 +28,7 @@ + it is removed along with the smart pointer from the ObjectMap. + -----------------------------------------------------------------------*/ + ++#include <cstddef> + #include "PyVTKObject.h" + #include "vtkPythonUtil.h" + #include "vtkObjectBase.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310021200.r92C0Vi8010461>