diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-12 19:03:54 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-12 19:03:54 +0000 |
commit | fe7743ba2ed027770ead3e5159d949e13b6b9bc8 (patch) | |
tree | fb5176ffbd51f123cff247a085f24f6214deff23 /math/vtk8/files/patch-IO_EnSight_vtkEnSight6BinaryReader.cxx | |
parent | net/wpa_supplicant_gui: Fix package name after rename (diff) |
New port: math/vtk8: Visualization toolkit (repocopy of math/vtk6 with modifications)
Changes against math/vtk6:
* Use DISTVERSION
* Update COMMENT
* Add to USES
* Remove the SHARED option: all libraries should be shared, no need for the option to do otherwise
* Remove the PYTHON option: python binding should be a separate port
* Modernize the port: use helpers instead of .if/.endif
* Use autoplist: too many files with too complex dependencies on options
* Update USE_QT to include missing parts
Diffstat (limited to '')
-rw-r--r-- | math/vtk8/files/patch-IO_EnSight_vtkEnSight6BinaryReader.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/vtk8/files/patch-IO_EnSight_vtkEnSight6BinaryReader.cxx b/math/vtk8/files/patch-IO_EnSight_vtkEnSight6BinaryReader.cxx new file mode 100644 index 000000000000..8665a1892011 --- /dev/null +++ b/math/vtk8/files/patch-IO_EnSight_vtkEnSight6BinaryReader.cxx @@ -0,0 +1,13 @@ +--- IO/EnSight/vtkEnSight6BinaryReader.cxx.orig 2017-11-21 07:34:56 UTC ++++ IO/EnSight/vtkEnSight6BinaryReader.cxx +@@ -36,8 +36,8 @@ + #if defined(_WIN32) + # define VTK_STAT_STRUCT struct _stat64 + # define VTK_STAT_FUNC _stat64 +-#elif defined _DARWIN_FEATURE_64_BIT_INODE && !defined __FreeBSD__ +-// FreeBSD and OSX now deprecate stat64 ++#elif defined _DARWIN_FEATURE_64_BIT_INODE || defined __FreeBSD__ ++// FreeBSD and OSX use stat + # define VTK_STAT_STRUCT struct stat + # define VTK_STAT_FUNC stat + #else |