git: 8cb30e6cf8dc - main - textproc/lua-icu-utils: update to 0.0-20220329 (431dda1de)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Mar 2022 22:29:40 UTC
The branch main has been updated by mm: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cb30e6cf8dc4f01f93a272fb95a1f20373c5249 commit 8cb30e6cf8dc4f01f93a272fb95a1f20373c5249 Author: Martin Matuska <mm@FreeBSD.org> AuthorDate: 2022-03-28 22:28:18 +0000 Commit: Martin Matuska <mm@FreeBSD.org> CommitDate: 2022-03-28 22:29:28 +0000 textproc/lua-icu-utils: update to 0.0-20220329 (431dda1de) --- textproc/lua-icu-utils/Makefile | 8 +++--- textproc/lua-icu-utils/distinfo | 6 ++--- .../lua-icu-utils/files/patch-src_convert__case.c | 29 ---------------------- 3 files changed, 8 insertions(+), 35 deletions(-) diff --git a/textproc/lua-icu-utils/Makefile b/textproc/lua-icu-utils/Makefile index ca646aa4861b..229796bf18f1 100644 --- a/textproc/lua-icu-utils/Makefile +++ b/textproc/lua-icu-utils/Makefile @@ -1,7 +1,7 @@ # Created by: Martin Matuska <mm@FreeBSD.org> PORTNAME= icu-utils -DISTVERSION= 0.0-20160816 +DISTVERSION= 0.0-20220329 CATEGORIES= textproc PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} @@ -9,6 +9,7 @@ MAINTAINER= mm@FreeBSD.org COMMENT= Lua interface to selected ICU utilities LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libicui18n.so:devel/icu @@ -17,10 +18,11 @@ USES= gmake lua:module USE_GITHUB= yes GH_ACCOUNT= adam-stanek GH_PROJECT= lua_icu_utils -GH_TAGNAME= df830c0 +GH_TAGNAME= 431dda1de CFLAGS+= -fPIC -I${LOCALBASE}/include -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="-shared -L${LOCALBASE}/lib" LUA_INCDIR="${LUA_INCDIR}" +LDFLAGS+= -shared -L${LOCALBASE}/lib +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LUA_INCDIR="${LUA_INCDIR}" PLIST_FILES= ${LUA_MODLIBDIR}/icu_utils.so PORTDOCS= README.md diff --git a/textproc/lua-icu-utils/distinfo b/textproc/lua-icu-utils/distinfo index 6a75857d3ea8..6ab6bfd922ce 100644 --- a/textproc/lua-icu-utils/distinfo +++ b/textproc/lua-icu-utils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645023714 -SHA256 (adam-stanek-lua_icu_utils-0.0-20160816-df830c0_GH0.tar.gz) = 52f964db41cbdad5baac755805a9310b27d8d0dc7a7f429cddd81dea948f4348 -SIZE (adam-stanek-lua_icu_utils-0.0-20160816-df830c0_GH0.tar.gz) = 5799 +TIMESTAMP = 1648506330 +SHA256 (adam-stanek-lua_icu_utils-0.0-20220329-431dda1de_GH0.tar.gz) = 0343af5afbeb5610897a9827430f57731de966dcc5f04818781ec39fce7d2133 +SIZE (adam-stanek-lua_icu_utils-0.0-20220329-431dda1de_GH0.tar.gz) = 6700 diff --git a/textproc/lua-icu-utils/files/patch-src_convert__case.c b/textproc/lua-icu-utils/files/patch-src_convert__case.c deleted file mode 100644 index eba62824f6fe..000000000000 --- a/textproc/lua-icu-utils/files/patch-src_convert__case.c +++ /dev/null @@ -1,29 +0,0 @@ ---- src/convert_case.c.orig 2022-02-16 14:49:42 UTC -+++ src/convert_case.c -@@ -45,7 +45,7 @@ int strtolower(lua_State *l) { - int32_t out_len = u_strToLower(dest, str_len, str, str_len, "", &status); - if(U_FAILURE(status)) { - // Allocate more memory if necessary -- if(status = U_BUFFER_OVERFLOW_ERROR) { -+ if(status == U_BUFFER_OVERFLOW_ERROR) { - free(dest); - dest = malloc(sizeof(UChar) * (out_len + 1)); - if(!dest) { -@@ -109,7 +109,7 @@ int strtoupper(lua_State *l) { - int32_t out_len = u_strToUpper(dest, str_len, str, str_len, "", &status); - if(U_FAILURE(status)) { - // Allocate more memory if necessary -- if(status = U_BUFFER_OVERFLOW_ERROR) { -+ if(status == U_BUFFER_OVERFLOW_ERROR) { - free(dest); - dest = malloc(sizeof(UChar) * (out_len + 1)); - if(!dest) { -@@ -173,7 +173,7 @@ int strtotitle(lua_State *l) { - int32_t out_len = u_strToTitle(dest, str_len, str, str_len, NULL, "", &status); - if(U_FAILURE(status)) { - // Allocate more memory if necessary -- if(status = U_BUFFER_OVERFLOW_ERROR) { -+ if(status == U_BUFFER_OVERFLOW_ERROR) { - free(dest); - dest = malloc(sizeof(UChar) * (out_len + 1)); - if(!dest) {