aboutsummaryrefslogtreecommitdiff
path: root/ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch
diff options
context:
space:
mode:
authorzi-m <53815290+zi-m@users.noreply.github.com>2020-05-14 01:59:31 +0200
committerGitHub <noreply@github.com>2020-05-13 16:59:31 -0700
commit430a10ff3582a16b0f4c5cc8dddac245e9596702 (patch)
tree9323bf5e72e318347b4ef1015a22c45f5b69bda6 /ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch
parent55be137d5ba6230f62aa7fb0994fda1728ce7fef (diff)
downloadvcpkg-430a10ff3582a16b0f4c5cc8dddac245e9596702.tar.gz
vcpkg-430a10ff3582a16b0f4c5cc8dddac245e9596702.zip
[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"
Diffstat (limited to 'ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch')
-rw-r--r--ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch b/ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch
new file mode 100644
index 000000000..12f89845f
--- /dev/null
+++ b/ports/h5py-lzf/0001-disable-H5PLget_plugin-api.patch
@@ -0,0 +1,16 @@
+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