aboutsummaryrefslogtreecommitdiff
path: root/ports/poissonrecon/use-external-libs.patch
diff options
context:
space:
mode:
authorFrancisco Facioni <francisco@remyrobotics.com>2021-04-29 01:31:42 +0100
committerGitHub <noreply@github.com>2021-04-28 17:31:42 -0700
commit0b14f8595c7d5dda19975894385feb50aebcfd87 (patch)
tree88dac929353808d76631e829b148c2c4ee30b230 /ports/poissonrecon/use-external-libs.patch
parent81bcfa90bce04462b9e7806934b264a226aff307 (diff)
downloadvcpkg-0b14f8595c7d5dda19975894385feb50aebcfd87.tar.gz
vcpkg-0b14f8595c7d5dda19975894385feb50aebcfd87.zip
[PoissonRecon] new port (#17370)
* [PoissonRecon] new port * [poissonrecon] Simplify port and patches Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports/poissonrecon/use-external-libs.patch')
-rw-r--r--ports/poissonrecon/use-external-libs.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/ports/poissonrecon/use-external-libs.patch b/ports/poissonrecon/use-external-libs.patch
new file mode 100644
index 000000000..cb2918a67
--- /dev/null
+++ b/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 )
+ {