update net/lagrange to 1.14.1

ok MAINTAINER
This commit is contained in:
op 2022-12-01 08:36:35 +00:00
parent 9ecf5d07e6
commit 7e7d797b2b
4 changed files with 9 additions and 24 deletions

View File

@ -1,5 +1,5 @@
COMMENT = SDL multi protocol navigator
VERSION = 1.13.8
VERSION = 1.14.1
DISTNAME = lagrange-${VERSION}
@ -12,7 +12,7 @@ HOMEPAGE = https://gmi.skyjake.fi/lagrange/
# BSD 2-Clause
PERMIT_PACKAGE =Yes
WANTLIB += SDL2 mpg123 pcre unistring fribidi harfbuzz
WANTLIB += SDL2 mpg123 pcre2-8 unistring fribidi harfbuzz
WANTLIB += c crypto m ssl z pthread webp
DEBUG_PACKAGES =${BUILD_PACKAGES}
@ -33,7 +33,7 @@ LIB_DEPENDS = audio/mpg123 \
converters/libunistring \
devel/fribidi \
devel/harfbuzz \
devel/pcre \
devel/pcre2 \
devel/sdl2 \
graphics/libwebp

View File

@ -1,2 +1,2 @@
SHA256 (lagrange-1.13.8.tar.gz) = 6u81zkWbuiDbuiTKR+109fV5gqqy2No1BuMJXut2zNA=
SIZE (lagrange-1.13.8.tar.gz) = 9879616
SHA256 (lagrange-1.14.1.tar.gz) = VngfyUiqfWm6dtWcvWZveeFUZ0JV2buAjrIbewu2HjY=
SIZE (lagrange-1.14.1.tar.gz) = 9911705

View File

@ -1,12 +1,14 @@
Index: lib/the_Foundation/Depends.cmake
--- lib/the_Foundation/Depends.cmake.orig
+++ lib/the_Foundation/Depends.cmake
@@ -10,10 +10,7 @@ if (NOT IOS AND NOT ANDROID)
@@ -12,12 +12,7 @@ if (NOT IOS AND NOT ANDROID)
set (iHaveCurl NO)
endif ()
if (TFDN_ENABLE_TLSREQUEST)
- pkg_check_modules (OPENSSL eopenssl11) # BSD
- if (NOT OPENSSL_FOUND)
- if (OPENSSL_FOUND)
- set (EOPENSSL_FOUND YES)
- else ()
- pkg_check_modules (OPENSSL openssl)
- endif ()
+ pkg_check_modules (OPENSSL openssl)

View File

@ -1,17 +0,0 @@
time_t is 64 bits on OpenBSD and NetBSD, so avoid truncation on those
platforms in a portable way.
Index: src/gmcerts.c
--- src/gmcerts.c.orig
+++ src/gmcerts.c
@@ -413,8 +413,8 @@ void deserializeTrusted_GmCerts(iGmCerts *d, iStream *
const iRangecc key = capturedRange_RegExpMatch(&m, 1);
const iRangecc until = capturedRange_RegExpMatch(&m, 2);
const iRangecc fp = capturedRange_RegExpMatch(&m, 3);
- time_t sec;
- sscanf(until.start, "%ld", &sec);
+ long long sec;
+ sscanf(until.start, "%lld", &sec);
iDate untilDate;
initSinceEpoch_Date(&untilDate, sec);
/* TODO: import method? */