git: de9eff111780 - main - devel/aws-c-io: Fix test target

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 28 Apr 2023 08:58:52 UTC
The branch main has been updated by eduardo:

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

commit de9eff111780d3ed4003989cba1e265f8b6a2cf2
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-04-28 08:54:09 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-04-28 08:54:09 +0000

    devel/aws-c-io: Fix test target
    
    Apply upstream patch to fix 'default_pki_path_exists' test:
    https://github.com/awslabs/aws-c-io/issues/565
---
 devel/aws-c-io/Makefile | 8 +++-----
 devel/aws-c-io/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/devel/aws-c-io/Makefile b/devel/aws-c-io/Makefile
index 613c1f4f178c..78e756d58776 100644
--- a/devel/aws-c-io/Makefile
+++ b/devel/aws-c-io/Makefile
@@ -1,7 +1,10 @@
 PORTNAME=	aws-c-io
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.13.21
+PORTREVISION=	1
 CATEGORIES=	devel
+PATCH_SITES=	https://github.com/awslabs/aws-c-io/commit/
+PATCHFILES=	4dc663c0c3f7cf1e3aebb1d8e28dd48f012e3db8.patch:-p1
 
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Event driven framework for implementing application protocols
@@ -15,15 +18,10 @@ LIB_DEPENDS=	libaws-c-cal.so:security/aws-c-cal \
 		libs2n.so:security/s2n-tls
 
 USES=		cmake:testing compiler:c11 ssl
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	awslabs
-
 USE_LDCONFIG=	yes
 
-# do-test: fails, "ld: error: lib/libaws-c-cal.so.1.0.0: undefined reference to aws_device_random_buffer_append [--no-allow-shlib-undefined]"
-# see also: https://github.com/awslabs/aws-c-io/issues/565
-
 CMAKE_ARGS+=	-DCMAKE_INSTALL_LIBDIR=${LOCALBASE}/lib
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	BUILD_TESTING
diff --git a/devel/aws-c-io/distinfo b/devel/aws-c-io/distinfo
index 556e2007f6bb..337f33ce0e1f 100644
--- a/devel/aws-c-io/distinfo
+++ b/devel/aws-c-io/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1681718748
+TIMESTAMP = 1682671191
 SHA256 (awslabs-aws-c-io-v0.13.21_GH0.tar.gz) = f7811e2dc9ce2875410cf5eee45d1d4a3304d597a6df866384cbd98ed6341bd5
 SIZE (awslabs-aws-c-io-v0.13.21_GH0.tar.gz) = 647300
+SHA256 (4dc663c0c3f7cf1e3aebb1d8e28dd48f012e3db8.patch) = 0492daa0d7ce0b6c8252275588650932f6188e5c9033805a0b59211fee2b19d9
+SIZE (4dc663c0c3f7cf1e3aebb1d8e28dd48f012e3db8.patch) = 1197