git: 7ac8d06794fe - main - devel/libcbor: Update to 0.10.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:05:41 UTC
The branch main has been updated by sunpoet:

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

commit 7ac8d06794fef401fa6c1a01a1d56524d6f7c4fa
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:27:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:01 +0000

    devel/libcbor: Update to 0.10.1
    
    Changes:        https://github.com/PJK/libcbor/releases
---
 devel/libcbor/Makefile | 7 +------
 devel/libcbor/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/devel/libcbor/Makefile b/devel/libcbor/Makefile
index 460fb2662868..c84b316d3e6a 100644
--- a/devel/libcbor/Makefile
+++ b/devel/libcbor/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libcbor
-PORTVERSION=	0.9.0
+PORTVERSION=	0.10.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -22,9 +22,4 @@ PLIST_SUB=	PORTVERSION=${PORTVERSION}
 GH_ACCOUNT=	PJK
 USE_GITHUB=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|-flto||; /subdirs(examples)/d' ${WRKSRC}/CMakeLists.txt
-	@${REINPLACE_CMD} -e 's|();|(void);|' ${WRKSRC}/src/cbor/*.h ${WRKSRC}/src/cbor/internal/*.h
-	@${REINPLACE_CMD} -e 's|() {|(void) {|' ${WRKSRC}/src/cbor/*.c ${WRKSRC}/src/cbor/internal/*.c
-
 .include <bsd.port.mk>
diff --git a/devel/libcbor/distinfo b/devel/libcbor/distinfo
index 0e83ec16d038..e73646c3ce7d 100644
--- a/devel/libcbor/distinfo
+++ b/devel/libcbor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637072894
-SHA256 (PJK-libcbor-v0.9.0_GH0.tar.gz) = da81e4f9333e0086d4e2745183c7052f04ecc4dbcffcf910029df24f103c15d1
-SIZE (PJK-libcbor-v0.9.0_GH0.tar.gz) = 275405
+TIMESTAMP = 1674589490
+SHA256 (PJK-libcbor-v0.10.1_GH0.tar.gz) = e8fa0a726b18861c24428561c80b3c95aca95f468df4e2f3e3ac618be12d3047
+SIZE (PJK-libcbor-v0.10.1_GH0.tar.gz) = 284393