Date: Mon, 22 Jun 2026 09:30:18 +0000 From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2b39263be5a6 - main - devel/rhtvision: fix build on FreeBSD 15.1 Message-ID: <6a3900aa.1890c.744407a4@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b39263be5a6d1a4d6cd8e8162e40f18776e220c commit 2b39263be5a6d1a4d6cd8e8162e40f18776e220c Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2026-06-21 19:51:26 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2026-06-22 08:41:46 +0000 devel/rhtvision: fix build on FreeBSD 15.1 The header <termios.h> needs to be included in unixkey.cc for this port to build. I presume it got previously included transitively but now isn't anymore. While we are at it, define LICENSE and have the port not run ldconfig at stage time. MFH: 2026Q2 --- devel/rhtvision/Makefile | 3 +++ devel/rhtvision/files/patch-classes_unix_unixkey.cc | 10 ++++++++++ devel/rhtvision/files/patch-config.pl | 11 +++++++++++ 3 files changed, 24 insertions(+) diff --git a/devel/rhtvision/Makefile b/devel/rhtvision/Makefile index 6187df45b54f..1e33885a6a5d 100644 --- a/devel/rhtvision/Makefile +++ b/devel/rhtvision/Makefile @@ -9,6 +9,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Complete C++ Text User Interface (TUI) library WWW= https://sourceforge.net/projects/tvision/ +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/copying + OPTIONS_DEFINE= NLS X11 OPTIONS_SUB= yes diff --git a/devel/rhtvision/files/patch-classes_unix_unixkey.cc b/devel/rhtvision/files/patch-classes_unix_unixkey.cc new file mode 100644 index 000000000000..f5236d2567ee --- /dev/null +++ b/devel/rhtvision/files/patch-classes_unix_unixkey.cc @@ -0,0 +1,10 @@ +--- classes/unix/unixkey.cc.orig 2026-06-21 19:50:02 UTC ++++ classes/unix/unixkey.cc +@@ -22,6 +22,7 @@ key, Shift+(Inset,End,Home,PgUp,PgDn,Delete,Arrows,etc + key, Shift+(Inset,End,Home,PgUp,PgDn,Delete,Arrows,etc.) and more. + + *****************************************************************************/ ++#include <termios.h> + #include <tv/configtv.h> + + #define Uses_stdio diff --git a/devel/rhtvision/files/patch-config.pl b/devel/rhtvision/files/patch-config.pl new file mode 100644 index 000000000000..3271cb916794 --- /dev/null +++ b/devel/rhtvision/files/patch-config.pl @@ -0,0 +1,11 @@ +--- config.pl.orig 2026-06-21 20:07:49 UTC ++++ config.pl +@@ -1254,7 +1254,7 @@ sub GenerateMakefile + # Darwin: doesn't have ldconfig. + if ($OSf ne 'Darwin') + { +- $rep.=($OSf eq 'FreeBSD') ? "\t-ldconfig -m \$(libdir)\n" : "\t-ldconfig\n"; ++# $rep.=($OSf eq 'FreeBSD') ? "\t-ldconfig -m \$(libdir)\n" : "\t-ldconfig\n"; + } + } + if ($internac)home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3900aa.1890c.744407a4>
