git: 325ba0c274c5 - main - comms/tlf: unbreak build after 8e39e791b0a9

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 04 Dec 2021 14:20:09 UTC
The branch main has been updated by jbeich:

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

commit 325ba0c274c54d151aa1d9b3264eb7b5695740d4
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-04 14:17:07 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-04 14:19:37 +0000

    comms/tlf: unbreak build after 8e39e791b0a9
    
    sendqrg.c:103:6: error: use of undeclared identifier 'FILPATHLEN'
                FILPATHLEN - 1);
                ^
    sendqrg.c:120:52: error: use of undeclared identifier 'FILPATHLEN'
            strncpy(my_rig->state.pttport.pathname, ptt_file, FILPATHLEN);
                                                              ^
    sendqrg.c:122:52: error: use of undeclared identifier 'FILPATHLEN'
            strncpy(my_rig->state.dcdport.pathname, dcd_file, FILPATHLEN);
                                                              ^
    
    Reported by:    pkg-fallout
---
 comms/tlf/Makefile | 5 +++++
 comms/tlf/distinfo | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/comms/tlf/Makefile b/comms/tlf/Makefile
index 5ebd43ec9c3f..7c0278f985e0 100644
--- a/comms/tlf/Makefile
+++ b/comms/tlf/Makefile
@@ -5,6 +5,11 @@ PORTVERSION=	1.4.1
 DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	comms hamradio
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	851321c0979c.patch:-p1 # https://github.com/Tlf/tlf/pull/268
+PATCHFILES+=	3c48ad1c95c8.patch:-p1 # https://github.com/Tlf/tlf/pull/268
+PATCHFILES+=	4302ec05ed9f.patch:-p1 # https://github.com/Tlf/tlf/pull/268
+
 MAINTAINER=	hamradio@FreeBSD.org
 COMMENT=	Amateur Radio curses based logging program
 
diff --git a/comms/tlf/distinfo b/comms/tlf/distinfo
index ae31fd88614a..0a74b7e37d8d 100644
--- a/comms/tlf/distinfo
+++ b/comms/tlf/distinfo
@@ -1,3 +1,9 @@
 TIMESTAMP = 1588167295
 SHA256 (tlf-tlf-tlf-1.4.1_GH0.tar.gz) = a5a4d0492d206fe67d324271c50c48801236a955c36edddc198289330cb17386
 SIZE (tlf-tlf-tlf-1.4.1_GH0.tar.gz) = 567979
+SHA256 (851321c0979c.patch) = 26726e8d6b5c3c272799a0d0592fbf31d3262309841244c548eb68d8c8e4660d
+SIZE (851321c0979c.patch) = 1559
+SHA256 (3c48ad1c95c8.patch) = e224d8040597ad1e5a5c17d6ee6ab4eb76f0c172416bd9b3df86b4ee31e5395f
+SIZE (3c48ad1c95c8.patch) = 515
+SHA256 (4302ec05ed9f.patch) = 39c42a360f08954879056627caf22f9a4e9709e11b53ea1f0489e55363525b1a
+SIZE (4302ec05ed9f.patch) = 566