aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/matajoh-libnpy/fix-zip-wrapper.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/matajoh-libnpy/fix-zip-wrapper.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/matajoh-libnpy/fix-zip-wrapper.patch')
-rw-r--r--vcpkg/ports/matajoh-libnpy/fix-zip-wrapper.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/matajoh-libnpy/fix-zip-wrapper.patch b/vcpkg/ports/matajoh-libnpy/fix-zip-wrapper.patch
new file mode 100644
index 0000000..dcacff8
--- /dev/null
+++ b/vcpkg/ports/matajoh-libnpy/fix-zip-wrapper.patch
@@ -0,0 +1,24 @@
+diff --git a/src/zip.cpp b/src/zip.cpp
+index 1269704..f7f5cb9 100644
+--- a/src/zip.cpp
++++ b/src/zip.cpp
+@@ -1,10 +1,18 @@
+-#include "miniz/miniz.h"
++#include <algorithm>
++#include <cstdint>
++#include <memory>
++#include <sstream>
++#include <string>
++#include <vector>
++
+ #include <cassert>
+ #include <stdexcept>
+
+ #include "npy/core.h"
+ #include "zip.h"
+
++#include <miniz/miniz.h>
++
+ namespace {
+ const size_t CHUNK = 1024 * 1024;
+ const int WINDOW_BITS = -15;