diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/poissonrecon/use-external-libs.patch | |
Diffstat (limited to 'vcpkg/ports/poissonrecon/use-external-libs.patch')
| -rw-r--r-- | vcpkg/ports/poissonrecon/use-external-libs.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/poissonrecon/use-external-libs.patch b/vcpkg/ports/poissonrecon/use-external-libs.patch new file mode 100644 index 0000000..cb2918a --- /dev/null +++ b/vcpkg/ports/poissonrecon/use-external-libs.patch @@ -0,0 +1,42 @@ +--- a/Src/JPEG.h ++++ b/Src/JPEG.h +@@ -6,14 +6,10 @@ + + #ifdef _WIN32 + #include <windows.h> +-#include "JPEG/jpeglib.h" +-#include "JPEG/jerror.h" +-#include "JPEG/jmorecfg.h" +-#else // !_WIN32 ++#endif // _WIN32 + #include <jpeglib.h> + #include <jerror.h> + #include <jmorecfg.h> +-#endif // _WIN32 + + struct my_error_mgr + { +--- a/Src/PNG.h ++++ b/Src/PNG.h +@@ -1,7 +1,7 @@ + #ifndef PNG_INCLUDED + #define PNG_INCLUDED + +-#include "PNG/png.h" ++#include <png.h> + + struct PNGReader : public ImageReader + { +--- a/Src/PNG.inl ++++ b/Src/PNG.inl +@@ -1,10 +1,6 @@ + #include <stdio.h> + #include <vector> +-#ifdef _WIN32 +-#include "PNG/png.h" +-#else // !_WIN32 + #include <png.h> +-#endif // _WIN32 + + inline PNGReader::PNGReader( const char* fileName , unsigned int& width , unsigned int& height , unsigned int& channels ) + { |