Index: www/luakit/Makefile =================================================================== RCS file: /cvs/ports/www/luakit/Makefile,v retrieving revision 1.30 diff -u -p -u -p -r1.30 Makefile --- www/luakit/Makefile 31 Aug 2021 22:42:23 -0000 1.30 +++ www/luakit/Makefile 1 Sep 2021 08:16:34 -0000 @@ -5,7 +5,7 @@ COMMENT = fast, small, webkit based brow GH_ACCOUNT = luakit GH_PROJECT = luakit GH_TAGNAME = 2.3 -REVISION = 0 +REVISION = 1 EPOCH = 1 Index: www/luakit/patches/patch-common_luautil_c =================================================================== RCS file: /cvs/ports/www/luakit/patches/patch-common_luautil_c,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-common_luautil_c --- www/luakit/patches/patch-common_luautil_c 31 Aug 2021 22:42:23 -0000 1.1 +++ www/luakit/patches/patch-common_luautil_c 1 Sep 2021 08:16:34 -0000 @@ -11,7 +11,7 @@ Index: common/luautil.c int n; - g_string_append_printf(tb, "%s:%d%n", src, ar.currentline, &n); + char tmp[10] = ""; -+ sprintf(tmp, "%d", ar.currentline); ++ snprintf(tmp, sizeof(tmp), "%d", ar.currentline); + n = strlen(src) + strlen(tmp) + 1; + g_string_append_printf(tb, "%s:%d", src, ar.currentline); g_string_append_printf(tb, "%*.*s", loc_pad-n, loc_pad-n, "");