ports/math/scilab/files/patch-modules_hdf5_includes_HDF5Objects.h
Don Lewis 9068f977eb Fix build with science/hdf5 version 1.10 by specifying that we want to
use the version 1.8 API.

Fix the build when the GUI option is disabled.

Since this port installs icons, add INSTALLS_ICONS=yes to Makefile.

PR:		209244
Approved by:	makc (maintainer)
2016-05-06 21:45:19 +00:00

19 lines
438 B
C

--- modules/hdf5/includes/HDF5Objects.h.orig 2015-03-31 09:31:29 UTC
+++ modules/hdf5/includes/HDF5Objects.h
@@ -13,15 +13,13 @@
#ifndef __HDF5OBJECTS_H__
#define __HDF5OBJECTS_H__
-#define H5_NO_DEPRECATED_SYMBOLS
#undef H5_USE_16_API
+#define H5_USE_18_API
#define H5Eset_auto_vers 2
#include <hdf5.h>
#include <hdf5_hl.h>
-#undef H5_NO_DEPRECATED_SYMBOLS
-
//#define __HDF5OBJECTS_DEBUG__
//#define __HDF5ERROR_PRINT__