aboutsummaryrefslogtreecommitdiff
path: root/ports/lodepng
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-09-18 02:28:21 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-09-19 14:13:12 -0700
commit64a7483a4a4c9d176896ec7aec08a6acef4ea8f3 (patch)
tree6e16e3922f50a795cb1b0125f84c62e6f55610fe /ports/lodepng
parent7e5bb652fba1d6ca805a73fd992ab5e7e1945b61 (diff)
downloadvcpkg-64a7483a4a4c9d176896ec7aec08a6acef4ea8f3.tar.gz
vcpkg-64a7483a4a4c9d176896ec7aec08a6acef4ea8f3.zip
Upgrades 2018.09.18
Diffstat (limited to 'ports/lodepng')
-rw-r--r--ports/lodepng/CONTROL2
-rw-r--r--ports/lodepng/algorithm.patch12
-rw-r--r--ports/lodepng/portfile.cmake5
3 files changed, 16 insertions, 3 deletions
diff --git a/ports/lodepng/CONTROL b/ports/lodepng/CONTROL
index 684e658f4..e6c10c474 100644
--- a/ports/lodepng/CONTROL
+++ b/ports/lodepng/CONTROL
@@ -1,3 +1,3 @@
Source: lodepng
-Version: 2018-07-30
+Version: 2018-09-18-1
Description: PNG encoder and decoder in C and C++
diff --git a/ports/lodepng/algorithm.patch b/ports/lodepng/algorithm.patch
new file mode 100644
index 000000000..796bdfc66
--- /dev/null
+++ b/ports/lodepng/algorithm.patch
@@ -0,0 +1,12 @@
+diff --git a/lodepng_util.cpp b/lodepng_util.cpp
+index 4b571bb..58ba81a 100644
+--- a/lodepng_util.cpp
++++ b/lodepng_util.cpp
+@@ -26,6 +26,7 @@ freely, subject to the following restrictions:
+ #include "lodepng_util.h"
+ #include <iostream>
+ #include "math.h"
++#include <algorithm>
+
+ namespace lodepng
+ {
diff --git a/ports/lodepng/portfile.cmake b/ports/lodepng/portfile.cmake
index 1d85c7084..367764456 100644
--- a/ports/lodepng/portfile.cmake
+++ b/ports/lodepng/portfile.cmake
@@ -3,9 +3,10 @@ include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO lvandeve/lodepng
- REF 955a04e517c1ec266f77f28a89a51d8041a4f1a0
- SHA512 97f516df220749f6a89b4621be23c419e83a439f8e2689fe9b4719a792909399aa2cf7294ce90f3ac28a13e31f703537e6c701ea032eab1d983093305ed04a5e
+ REF ceb6b482b5a16d2bb3d6b3c735ca2b16322780d5
+ SHA512 5293f6c629ff006410c9180cabac5f4de7643f04ec6c3d7ff46c1b09317ff9156d28ed4344a46db0b3a06937349590aa8958722ba0432178a347da58736cbf41
HEAD_REF master
+ PATCHES algorithm.patch
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})