aboutsummaryrefslogtreecommitdiff
path: root/ports/freeimage
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-04-02 16:53:20 -0700
committerVictor Romero <romerosanchezv@gmail.com>2019-04-02 16:53:20 -0700
commit9596fe7dd72179045cd9460730a71e197e82b1c2 (patch)
treec27ae77fe5a646686bbf72f910416dfbb2af9e0b /ports/freeimage
parentf41cc7b47cd0e846e047891b605f6870cc598ccb (diff)
parent0fffb47ed02507aeacc29c64d91e9d4639f981f6 (diff)
downloadvcpkg-9596fe7dd72179045cd9460730a71e197e82b1c2.tar.gz
vcpkg-9596fe7dd72179045cd9460730a71e197e82b1c2.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into pr/cmake_3_14
Diffstat (limited to 'ports/freeimage')
-rw-r--r--ports/freeimage/CONTROL2
-rw-r--r--ports/freeimage/use-external-libtiff.patch34
2 files changed, 33 insertions, 3 deletions
diff --git a/ports/freeimage/CONTROL b/ports/freeimage/CONTROL
index 5497b0fa3..0d2277772 100644
--- a/ports/freeimage/CONTROL
+++ b/ports/freeimage/CONTROL
@@ -1,4 +1,4 @@
Source: freeimage
-Version: 3.18.0-3
+Version: 3.18.0-4
Build-Depends: zlib, libpng, libjpeg-turbo, tiff, openjpeg, libwebp, libraw, jxrlib, openexr
Description: Support library for graphics image formats
diff --git a/ports/freeimage/use-external-libtiff.patch b/ports/freeimage/use-external-libtiff.patch
index f2ddd9ba6..23d5dfd1d 100644
--- a/ports/freeimage/use-external-libtiff.patch
+++ b/ports/freeimage/use-external-libtiff.patch
@@ -1,8 +1,8 @@
diff --git a/Source/FreeImage/PluginTIFF.cpp b/Source/FreeImage/PluginTIFF.cpp
-index 1b45453..562fdd7 100644
+index 5068d94..8947b03 100644
--- a/Source/FreeImage/PluginTIFF.cpp
+++ b/Source/FreeImage/PluginTIFF.cpp
-@@ -37,7 +37,7 @@
+@@ -37,9 +37,9 @@
#include "FreeImage.h"
#include "Utilities.h"
@@ -11,6 +11,36 @@ index 1b45453..562fdd7 100644
#include "../Metadata/FreeImageTag.h"
#include "../OpenEXR/Half/half.h"
+ #include "FreeImageIO.h"
+ #include "PSDParser.h"
+@@ -199,15 +199,18 @@ Open a TIFF file for reading or writing
+ @param name
+ @param mode
+ */
++/*
+ TIFF*
+ TIFFOpen(const char* name, const char* mode) {
+ return 0;
+ }
++*/
+
+ // ----------------------------------------------------------
+ // TIFF library FreeImage-specific routines.
+ // ----------------------------------------------------------
+
++/*
+ void*
+ _TIFFmalloc(tmsize_t s) {
+ return malloc(s);
+@@ -245,6 +248,7 @@ int
+ _TIFFmemcmp(const void* p1, const void* p2, tmsize_t c) {
+ return (memcmp(p1, p2, (size_t) c));
+ }
++*/
+
+ // ----------------------------------------------------------
+ // in FreeImage warnings and errors are disabled
+
diff --git a/Source/Metadata/XTIFF.cpp b/Source/Metadata/XTIFF.cpp
index d5be902..8dbcd5d 100644
--- a/Source/Metadata/XTIFF.cpp