mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
parent
1abada472e
commit
36410c47b8
4 changed files with 36 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
26
graphics/lerc/files/patch-_assert
Normal file
26
graphics/lerc/files/patch-_assert
Normal 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)
|
||||
{
|
|
@ -1,3 +1,5 @@
|
|||
include/Lerc_c_api.h
|
||||
include/Lerc_types.h
|
||||
lib/libLerc.so
|
||||
lib/libLerc.so.4
|
||||
libdata/pkgconfig/Lerc.pc
|
||||
|
|
Loading…
Add table
Reference in a new issue