graphics/lerc: Update to 4.0.0

Changes:	https://github.com/Esri/lerc/releases
		https://github.com/Esri/lerc/blob/master/CHANGELOG.md
This commit is contained in:
Po-Chuan Hsieh 2022-08-27 18:23:34 +08:00
parent 1abada472e
commit 36410c47b8
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 36 additions and 5 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= lerc
PORTVERSION= 3.0
PORTVERSION= 4.0.0
DISTVERSIONPREFIX= v
CATEGORIES= graphics
@ -9,7 +9,10 @@ COMMENT= C++ library for Limited Error Raster Compression
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USES= cmake compiler:c++17-lang dos2unix
CMAKE_ON= BUILD_SHARED_LIBS
USE_LDCONFIG= yes
GH_ACCOUNT= Esri
USE_GITHUB= yes

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1628103042
SHA256 (Esri-lerc-v3.0_GH0.tar.gz) = 8c0148f5c22d823eff7b2c999b0781f8095e49a7d3195f13c68c5541dd5740a1
SIZE (Esri-lerc-v3.0_GH0.tar.gz) = 4357957
TIMESTAMP = 1660576720
SHA256 (Esri-lerc-v4.0.0_GH0.tar.gz) = 91431c2b16d0e3de6cbaea188603359f87caed08259a645fd5a3805784ee30a0
SIZE (Esri-lerc-v4.0.0_GH0.tar.gz) = 4710408

View file

@ -0,0 +1,26 @@
--- src/LercLib/fpl_EsriHuffman.cpp.orig 2022-07-31 08:46:15 UTC
+++ src/LercLib/fpl_EsriHuffman.cpp
@@ -31,8 +31,6 @@ Original coding 2021 Yuriy Yakimenko
USING_NAMESPACE_LERC
-void _assert(bool v);
-
bool decodePackBits (const unsigned char *ptr, const size_t size, size_t expected, unsigned char **output)
{
unsigned char *out = NULL;
--- src/LercLib/fpl_Lerc2Ext.cpp.orig 2022-07-31 08:46:15 UTC
+++ src/LercLib/fpl_Lerc2Ext.cpp
@@ -31,12 +31,6 @@ Original coding 2021 Yuriy Yakimenko
USING_NAMESPACE_LERC
-void _assert(bool v)
-{
- if (v == false)
- throw "Assertion failed";
-}
-
template<typename T>
size_t getMinIndex(const T* array, size_t size)
{

View file

@ -1,3 +1,5 @@
include/Lerc_c_api.h
include/Lerc_types.h
lib/libLerc.so
lib/libLerc.so.4
libdata/pkgconfig/Lerc.pc