git: c75ee5343b9f - main - textproc/libucl: Fix non streamlined json emitter

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 19:27:57 UTC
The branch main has been updated by bofh:

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

commit c75ee5343b9fbe38dd8aeea90a3cf3c9f9801a91
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-03-19 19:26:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-03-19 19:26:19 +0000

    textproc/libucl: Fix non streamlined json emitter
    
    See for more information:
    https://github.com/vstakhov/libucl/commit/da7aacb3d46fbc206ec6f2431f503eed843a3039
    
    PR:             277812
    Reported by:    crest@rlwinm.de
---
 textproc/libucl/Makefile | 16 ++++++++--------
 textproc/libucl/distinfo |  4 +++-
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/textproc/libucl/Makefile b/textproc/libucl/Makefile
index 88cb44db02e0..ffa337111fe7 100644
--- a/textproc/libucl/Makefile
+++ b/textproc/libucl/Makefile
@@ -1,7 +1,11 @@
 PORTNAME=	libucl
 DISTVERSION=	0.9.0
+PORTREVISION=	1
 CATEGORIES=	textproc devel
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
+PATCHFILES=	da7aacb3d46fbc206ec6f2431f503eed843a3039.patch:-p1
+
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Universal configuration library parser
 WWW=		https://github.com/vstakhov/libucl
@@ -20,11 +24,11 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
-CONFLICTS_INSTALL=	ucl
-
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
+CONFLICTS_INSTALL=	ucl
+
 OPTIONS_DEFINE=		LUA REGEX SIGNATURES URLS UTILS
 OPTIONS_DEFAULT=	REGEX UTILS
 OPTIONS_SUB=		yes
@@ -34,20 +38,16 @@ SIGNATURES_DESC=	Enable signatures checking
 URLS_DESC=		Enable fetching URLs
 UTILS_DESC=		Enable tools: ucl_chargen, ucl_ucldump, ucl_tool
 
+LUA_USES=		lua
 LUA_CONFIGURE_ENABLE=	lua
 LUA_CONFIGURE_ENV=	LUA=${LOCALBASE}/bin/${LUA_CMD}
 LUA_LDFLAGS=		-L${LUA_LIBDIR}
-LUA_USES=		lua
-
 REGEX_CONFIGURE_ENABLE=	regex
-
+SIGNATURES_USES=		ssl
 SIGNATURES_CONFIGURE_ENABLE=	signatures
 SIGNATURES_CPPFLAGS=		-I${OPENSSLINC}
 SIGNATURES_LDFLAGS=		-L${OPENSSLLIB}
-SIGNATURES_USES=		ssl
-
 URLS_CONFIGURE_ENABLE=	urls
-
 UTILS_CONFIGURE_ENABLE=	utils
 
 .include <bsd.port.mk>
diff --git a/textproc/libucl/distinfo b/textproc/libucl/distinfo
index 77bb63cc092a..0819478fc7d1 100644
--- a/textproc/libucl/distinfo
+++ b/textproc/libucl/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1707086522
+TIMESTAMP = 1710875899
 SHA256 (vstakhov-libucl-0.9.0_GH0.tar.gz) = 87b233048bca7d307b14cffb882d3c198dc3fff96b19e0c3515428f027b3ebfe
 SIZE (vstakhov-libucl-0.9.0_GH0.tar.gz) = 2043656
+SHA256 (da7aacb3d46fbc206ec6f2431f503eed843a3039.patch) = 23254e467ddf07979498c102b0233a6df71934c74969c3d7423a54473884ef70
+SIZE (da7aacb3d46fbc206ec6f2431f503eed843a3039.patch) = 1395