mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
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
13 lines
506 B
C++
13 lines
506 B
C++
--- 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
|