git: 719480b770a4 - main - devel/tcltls: fix build with Tcl 8.7

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Wed, 03 Jan 2024 16:15:29 UTC
The branch main has been updated by gahr:

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

commit 719480b770a4d8b1123a2e7a364b39b47385ae46
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-01-03 14:40:58 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-01-03 16:15:26 +0000

    devel/tcltls: fix build with Tcl 8.7
---
 devel/tcltls/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/tcltls/Makefile b/devel/tcltls/Makefile
index e2965fb6995f..3058f06c16ab 100644
--- a/devel/tcltls/Makefile
+++ b/devel/tcltls/Makefile
@@ -38,6 +38,7 @@ CFLAGS+=       -Wno-error=int-conversion
 
 post-patch:
 	${MV} ${WRKSRC}/tests/ciphers.test ${WRKSRC}/tests/ciphers.test.broken
+	${REINPLACE_CMD} '/^#define CONST84/s|$$| const|' ${WRKSRC}/tlsInt.h
 
 # Newer openssl-dhparam has no "-C" option, we emulate it here :-/
 post-configure: