зеркало из https://github.com/microsoft/vcpkg.git
[lerc] Fix missing algorithm header needed for std::min (#27918)
* [lerc] Fix missing algorithm header needed for std::min * format-manifest * Version DB Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Родитель
4715616818
Коммит
d558a1b4af
|
@ -0,0 +1,24 @@
|
|||
diff --git a/src/LercLib/fpl_EsriHuffman.cpp b/src/LercLib/fpl_EsriHuffman.cpp
|
||||
index b72bd44..2f6ae7f 100644
|
||||
--- a/src/LercLib/fpl_EsriHuffman.cpp
|
||||
+++ b/src/LercLib/fpl_EsriHuffman.cpp
|
||||
@@ -28,6 +28,7 @@ Original coding 2021 Yuriy Yakimenko
|
||||
#include <cstdlib>
|
||||
#include <stdint.h>
|
||||
#include <limits>
|
||||
+#include <algorithm>
|
||||
|
||||
USING_NAMESPACE_LERC
|
||||
|
||||
diff --git a/src/LercLib/fpl_Lerc2Ext.cpp b/src/LercLib/fpl_Lerc2Ext.cpp
|
||||
index 64b5c06..1d39c98 100644
|
||||
--- a/src/LercLib/fpl_Lerc2Ext.cpp
|
||||
+++ b/src/LercLib/fpl_Lerc2Ext.cpp
|
||||
@@ -28,6 +28,7 @@ Original coding 2021 Yuriy Yakimenko
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <stdint.h>
|
||||
+#include <algorithm>
|
||||
|
||||
USING_NAMESPACE_LERC
|
||||
|
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
|||
HEAD_REF master
|
||||
PATCHES
|
||||
"create_package.patch"
|
||||
"include_algorithm_for_std_min.patch"
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "lerc",
|
||||
"version": "4.0",
|
||||
"port-version": 1,
|
||||
"description": "An open-source image or raster format which supports rapid encoding and decoding for any pixel type",
|
||||
"homepage": "https://github.com/Esri/lerc",
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
@ -3606,7 +3606,7 @@
|
|||
},
|
||||
"lerc": {
|
||||
"baseline": "4.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"lest": {
|
||||
"baseline": "1.35.1",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b7391a7d4c1b31d4fcd7160f305c7b9de9621ff2",
|
||||
"version": "4.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "9fce90d3d96f4afb8ffcf1b2e7484ee75aa78ed2",
|
||||
"version": "4.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче