git: e90cfcf2b2b0 - main - devel/libdap: Update to 3.20.11

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Jul 2022 06:01:41 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e90cfcf2b2b0ec9fc6f0aae74dc1ead0d8dd217b

commit e90cfcf2b2b0ec9fc6f0aae74dc1ead0d8dd217b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-30 05:57:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-30 05:57:10 +0000

    devel/libdap: Update to 3.20.11
    
    Changes:        https://github.com/OPENDAP/libdap4/releases
---
 devel/libdap/Makefile                 |  2 +-
 devel/libdap/distinfo                 |  6 +++---
 devel/libdap/files/patch-HTTPCache.cc | 11 -----------
 devel/libdap/pkg-plist                |  2 +-
 4 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/devel/libdap/Makefile b/devel/libdap/Makefile
index 5bfe393c86d3..fc70d8890c0a 100644
--- a/devel/libdap/Makefile
+++ b/devel/libdap/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libdap
-PORTVERSION=	3.20.10
+PORTVERSION=	3.20.11
 CATEGORIES=	devel
 MASTER_SITES=	https://www.opendap.org/pub/source/ \
 		LOCAL/sunpoet
diff --git a/devel/libdap/distinfo b/devel/libdap/distinfo
index e02f882207da..8093bb4f6ce3 100644
--- a/devel/libdap/distinfo
+++ b/devel/libdap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657198917
-SHA256 (libdap-3.20.10.tar.gz) = d68c8a95916fa6057a5218c79a0f06e4bb2b24c2adff01ccd7e23e1678cabd90
-SIZE (libdap-3.20.10.tar.gz) = 2838473
+TIMESTAMP = 1658506555
+SHA256 (libdap-3.20.11.tar.gz) = 850debf6ee6991350bf31051308093bee35ddd2121e4002be7e130a319de1415
+SIZE (libdap-3.20.11.tar.gz) = 2839026
diff --git a/devel/libdap/files/patch-HTTPCache.cc b/devel/libdap/files/patch-HTTPCache.cc
deleted file mode 100644
index 25ab6db3b000..000000000000
--- a/devel/libdap/files/patch-HTTPCache.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- HTTPCache.cc.orig	2022-03-16 11:02:01 UTC
-+++ HTTPCache.cc
-@@ -1031,7 +1031,7 @@ HTTPCache::read_metadata(const string &cachename, vect
-     const unsigned long line_buf_len = 1024;
-     char line[line_buf_len];
-     while (!feof(md) && fgets(line, line_buf_len, md)) {
--        line[min(line_buf_len, strnlen(line, line_buf_len))-1] = '\0'; // erase newline
-+        line[min<size_t>(line_buf_len, strnlen(line, line_buf_len))-1] = '\0'; // erase newline
-         headers.push_back(string(line));
-     }
- 
diff --git a/devel/libdap/pkg-plist b/devel/libdap/pkg-plist
index ca5361fc3283..f973a1dd933b 100644
--- a/devel/libdap/pkg-plist
+++ b/devel/libdap/pkg-plist
@@ -141,7 +141,7 @@ include/libdap/xdr-datatypes.h
 lib/libdap.a
 lib/libdap.so
 lib/libdap.so.27
-lib/libdap.so.27.1.0
+lib/libdap.so.27.1.1
 lib/libdapclient.a
 lib/libdapclient.so
 lib/libdapclient.so.6