vcpkg/ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch
zi-m 430a10ff35
[h5py-lzf] Add new port (#10871)
* [h5py-lzf] Add new port

* add 0001-disable-H5PLget_plugin-api.patch

fix "error: static declaration of 'H5PLget_plugin_info' follows non-static declaration"
2020-05-13 16:59:31 -07:00

17 lines
502 B
Diff

diff --git a/lzf/lzf_filter.c b/lzf/lzf_filter.c
index 951b1e4c..b2fbffc1 100644
--- a/lzf/lzf_filter.c
+++ b/lzf/lzf_filter.c
@@ -93,9 +93,9 @@ static const H5Z_class_t filter_class = {
#include "H5PLextern.h"
-H5PL_type_t H5PLget_plugin_type(void){ return H5PL_TYPE_FILTER; }
+//H5PL_type_t H5PLget_plugin_type(void){ return H5PL_TYPE_FILTER; }
-const void *H5PLget_plugin_info(void){ return &filter_class; }
+//const void *H5PLget_plugin_info(void){ return &filter_class; }
#endif
#endif