pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tnt-ham: fix build with GCC 14, correct doc paths in PLIST



Module Name:	pkgsrc-wip
Committed By:	Chris Maness <christopher.maness%gmail.com@localhost>
Pushed By:	kq6up
Date:		Tue Jul 7 13:35:59 2026 -0700
Changeset:	a45a08a710a3c7bcb81b5ff87db360b9aaa02f6b

Modified Files:
	tnt-ham/Makefile
	tnt-ham/PLIST

Log Message:
tnt-ham: fix build with GCC 14, correct doc paths in PLIST

GCC 14 turns implicit-int and implicit-function-declaration into
hard errors by default, which breaks this K&R-era codebase. Demote
them back to warnings via CFLAGS until the code is fixed properly.

Correct PLIST doc file locations: the build installs documentation
under share/tnt/doc/, not share/doc/tnt/.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a45a08a710a3c7bcb81b5ff87db360b9aaa02f6b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tnt-ham/Makefile |  3 +++
 tnt-ham/PLIST    | 62 ++++++++++++++++++++++++++++----------------------------
 2 files changed, 34 insertions(+), 31 deletions(-)

diffs:
diff --git a/tnt-ham/Makefile b/tnt-ham/Makefile
index 98acafd151..f09085d473 100644
--- a/tnt-ham/Makefile
+++ b/tnt-ham/Makefile
@@ -13,6 +13,9 @@ COMMENT=	Amateur packet radio terminal program for TNC2, AEA PK232 and PK88
 DEPENDS+=	dialog>=0.6z:../../misc/dialog
 
 USE_TOOLS+=		gmake
+# TNT is K&R-era C; GCC 14 makes implicit-int and
+# implicit-function-declaration hard errors by default.
+CFLAGS+=	-Wno-error=implicit-int -Wno-error=implicit-function-declaration
 USE_PKGLOCALEDIR=	yes
 GNU_CONFIGURE=		yes
 INFO_FILES=		yes
diff --git a/tnt-ham/PLIST b/tnt-ham/PLIST
index dd1d94b930..8475db6def 100644
--- a/tnt-ham/PLIST
+++ b/tnt-ham/PLIST
@@ -12,37 +12,37 @@ libexec/tnt/logcall
 sbin/tnt_setup.de
 sbin/tnt_setup.en
 sbin/tnt_setup.fr
-share/doc/tnt/Readme1.de
-share/doc/tnt/Readme1.en
-share/doc/tnt/Readme1.fr
-share/doc/tnt/Readme2.de
-share/doc/tnt/Readme2.en
-share/doc/tnt/Readme2.fr
-share/doc/tnt/Readme3.de
-share/doc/tnt/Readme3.en
-share/doc/tnt/Readme3.fr
-share/doc/tnt/Readme4.de
-share/doc/tnt/Readme4.en
-share/doc/tnt/Readme4.fr
-share/doc/tnt/Readme5.de
-share/doc/tnt/Readme5.en
-share/doc/tnt/Readme5.fr
-share/doc/tnt/Readme6.de
-share/doc/tnt/Readme6.en
-share/doc/tnt/Readme6.fr
-share/doc/tnt/ax25krnl.doc
-share/doc/tnt/iface.doc
-share/doc/tnt/tnt.doc.de
-share/doc/tnt/tnt.doc.en
-share/doc/tnt/tnt.doc.fr
-share/doc/tnt/tnt.hlp.de
-share/doc/tnt/tnt.hlp.en
-share/doc/tnt/tnt.hlp.fr
-share/doc/tnt/tntdoc.dvi
-share/doc/tnt/tntdoc.html
-share/doc/tnt/tntrem.hlp.de
-share/doc/tnt/tntrem.hlp.en
-share/doc/tnt/tntrem.hlp.fr
+share/tnt/doc/Readme1.de
+share/tnt/doc/Readme1.en
+share/tnt/doc/Readme1.fr
+share/tnt/doc/Readme2.de
+share/tnt/doc/Readme2.en
+share/tnt/doc/Readme2.fr
+share/tnt/doc/Readme3.de
+share/tnt/doc/Readme3.en
+share/tnt/doc/Readme3.fr
+share/tnt/doc/Readme4.de
+share/tnt/doc/Readme4.en
+share/tnt/doc/Readme4.fr
+share/tnt/doc/Readme5.de
+share/tnt/doc/Readme5.en
+share/tnt/doc/Readme5.fr
+share/tnt/doc/Readme6.de
+share/tnt/doc/Readme6.en
+share/tnt/doc/Readme6.fr
+share/tnt/doc/ax25krnl.doc
+share/tnt/doc/iface.doc
+share/tnt/doc/tnt.doc.de
+share/tnt/doc/tnt.doc.en
+share/tnt/doc/tnt.doc.fr
+share/tnt/doc/tnt.hlp.de
+share/tnt/doc/tnt.hlp.en
+share/tnt/doc/tnt.hlp.fr
+share/tnt/doc/tntdoc.dvi
+share/tnt/doc/tntdoc.html
+share/tnt/doc/tntrem.hlp.de
+share/tnt/doc/tntrem.hlp.en
+share/tnt/doc/tntrem.hlp.fr
 share/locale/de/LC_MESSAGES/tnt.mo
 share/locale/fr/LC_MESSAGES/tnt.mo
 share/tnt/conf/autostrt.tnt.ex


Home | Main Index | Thread Index | Old Index