lerc: update to 4.1.0

This commit is contained in:
Herby Gillot
2026-04-05 22:52:18 -04:00
parent 8035ef1b07
commit 50dcbc0794
2 changed files with 5 additions and 56 deletions
+5 -9
View File
@@ -4,16 +4,15 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
github.setup Esri lerc 4.0.0 v
github.setup Esri lerc 4.1.0 v
github.tarball_from archive
revision 1
revision 0
checksums rmd160 4db543ea71fe126c94bce3ae8559107b483a4668 \
sha256 91431c2b16d0e3de6cbaea188603359f87caed08259a645fd5a3805784ee30a0 \
size 4710408
checksums rmd160 9c8e9ebcf17cea2fd66c3347550bad9a766d5b64 \
sha256 f05b24d2368becab9144873878655bb718910631550d4f786262378c16ab94a7 \
size 4056763
categories gis
platforms darwin
maintainers {vince @Veence} openmaintainer
license Apache-2
@@ -22,7 +21,4 @@ description Limited Error Raster Compression: a library to compress rast
long_description Lerc is an open source library that allows fine-tuned compression of every \
type of raster images (mainly used in GIS)
patchfiles patch-include.diff
compiler.cxx_standard 2011
-47
View File
@@ -1,47 +0,0 @@
From 6292d634f4d138696305e1025325e2f4be2c2f92 Mon Sep 17 00:00:00 2001
From: thom6262 <tmaurer@esri.com>
Date: Tue, 29 Nov 2022 15:36:11 -0800
Subject: [PATCH] add missing includes
---
src/LercLib/Lerc.cpp | 1 +
src/LercLib/fpl_EsriHuffman.cpp | 1 +
src/LercLib/fpl_Lerc2Ext.cpp | 1 +
3 files changed, 3 insertions(+)
diff --git a/src/LercLib/Lerc.cpp b/src/LercLib/Lerc.cpp
index bb6b7b7..dcf8057 100644
--- src/LercLib/Lerc.cpp
+++ src/LercLib/Lerc.cpp
@@ -26,6 +26,7 @@ Contributors: Thomas Maurer
#include "Lerc2.h"
#include <typeinfo>
#include <limits>
+#include <functional>
#ifdef HAVE_LERC1_DECODE
#include "Lerc1Decode/CntZImage.h"
diff --git a/src/LercLib/fpl_EsriHuffman.cpp b/src/LercLib/fpl_EsriHuffman.cpp
index aac03b4..351301b 100644
--- src/LercLib/fpl_EsriHuffman.cpp
+++ 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 b07104c..df184f5 100644
--- src/LercLib/fpl_Lerc2Ext.cpp
+++ 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