git: 041cacb90b5c - main - www/pkgconf: update to 2.0.3

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Mon, 04 Sep 2023 07:14:17 UTC
The branch main has been updated by bapt:

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

commit 041cacb90b5cb523a3a41cd300f3081442c00f98
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-09-04 07:13:23 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-09-04 07:14:13 +0000

    www/pkgconf: update to 2.0.3
    
    This release only address the issue with modversion we fixed previously
    with a custom patch.
    
    No other changes incorporated
---
 devel/pkgconf/Makefile                          |  3 +--
 devel/pkgconf/distinfo                          |  6 +++---
 devel/pkgconf/files/patch-modversion-comparison | 19 -------------------
 3 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/devel/pkgconf/Makefile b/devel/pkgconf/Makefile
index 08e260c626e1..136f58d6aa82 100644
--- a/devel/pkgconf/Makefile
+++ b/devel/pkgconf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pkgconf
-PORTVERSION=	2.0.2
-PORTREVISION=	1
+PORTVERSION=	2.0.3
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://distfiles.ariadne.space/${PORTNAME}/
diff --git a/devel/pkgconf/distinfo b/devel/pkgconf/distinfo
index 1d7ced659d45..a44b43d45207 100644
--- a/devel/pkgconf/distinfo
+++ b/devel/pkgconf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692601113
-SHA256 (pkgconf-2.0.2.tar.xz) = ea5a25ef8f251eb5377ec0e21c75fb61894433cfbdbf0b2559ba33e4c2664401
-SIZE (pkgconf-2.0.2.tar.xz) = 310604
+TIMESTAMP = 1693811541
+SHA256 (pkgconf-2.0.3.tar.xz) = cabdf3c474529854f7ccce8573c5ac68ad34a7e621037535cbc3981f6b23836c
+SIZE (pkgconf-2.0.3.tar.xz) = 310796
diff --git a/devel/pkgconf/files/patch-modversion-comparison b/devel/pkgconf/files/patch-modversion-comparison
deleted file mode 100644
index dcab7c93146b..000000000000
--- a/devel/pkgconf/files/patch-modversion-comparison
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git cli/main.c cli/main.c
-index 25ff5ca..055b05a 100644
---- cli/main.c
-+++ cli/main.c
-@@ -305,10 +305,13 @@ apply_modversion(pkgconf_client_t *client, pkgconf_pkg_t *world, void *data, int
- 		{
- 			pkgconf_dependency_t *dep = world_iter->data;
- 			pkgconf_pkg_t *pkg = dep->match;
-+			size_t len = strlen(pkg->id);
- 
--			if (strncmp(pkg->id, queue_node->package, strlen(pkg->id)))
-+			if (strncmp(pkg->id, queue_node->package, len))
- 				continue;
- 
-+			if (!isspace(queue_node->package[len]) && queue_node->package[len] != '\0')
-+				continue;
- 			if (pkg->version != NULL) {
- 				if (verbosity)
- 					printf("%s: ", pkg->id);