Date: Mon, 13 Feb 2023 05:31:34 GMT From: Mikhail Teterin <mi@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c6ce535c7164 - main - devel/tcl-trf: increase an insufficiently large buffer Message-ID: <202302130531.31D5VYqw023202@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mi: URL: https://cgit.FreeBSD.org/ports/commit/?id=c6ce535c716427bb1cd4fe7364b771aeab298a0b commit c6ce535c716427bb1cd4fe7364b771aeab298a0b Author: Mikhail Teterin <mi@FreeBSD.org> AuthorDate: 2023-02-13 05:29:40 +0000 Commit: Mikhail Teterin <mi@FreeBSD.org> CommitDate: 2023-02-13 05:31:21 +0000 devel/tcl-trf: increase an insufficiently large buffer This ancient problem was discovered by gcc12's new -Warray-bounds implementation. Many thanks. Raise PORTREVISION :( --- devel/tcl-trf/Makefile | 2 +- devel/tcl-trf/files/patch-warnings | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile index 7055435b6b56..b281952c8187 100644 --- a/devel/tcl-trf/Makefile +++ b/devel/tcl-trf/Makefile @@ -1,6 +1,6 @@ PORTNAME= Trf PORTVERSION= 2.1.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel tcl MASTER_SITES= SF/tcltrf/tcltrf/${PORTVERSION} PKGNAMEPREFIX= tcl- diff --git a/devel/tcl-trf/files/patch-warnings b/devel/tcl-trf/files/patch-warnings index 7fbe851be8c5..bcda29768372 100644 --- a/devel/tcl-trf/files/patch-warnings +++ b/devel/tcl-trf/files/patch-warnings @@ -49,3 +49,12 @@ +#endif Tcl_ChannelType* parentType = Tcl_GetChannelType (parent); Tcl_DriverSeekProc* parentSeekProc = Tcl_ChannelSeekProc (parentType); +--- generic/otpcode.c 2009-06-18 00:54:43.000000000 -0400 ++++ generic/otpcode.c 2023-02-13 00:25:46.660181000 -0500 +@@ -2757,5 +2757,5 @@ + int i; + unsigned long p; +- char b[9]; ++ char b[11]; + + if ((c -> wordCount == 5) && (c -> charCount > 0))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302130531.31D5VYqw023202>