pkgsrc-WIP-changes archive

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

tintin++: bring up-to-date and fix compiling



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <ktnb%NetBSD.org@localhost>
Pushed By:	nuclearkev
Date:		Tue Nov 17 21:09:49 2026 -0500
Changeset:	2b68b89cb6d359cf02d5ef6f704c4ac0288bd9d7

Modified Files:
	tintin++/DESCR
	tintin++/Makefile
	tintin++/distinfo
Added Files:
	tintin++/patches/patch-forkpty.c

Log Message:
tintin++: bring up-to-date and fix compiling

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

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

diffstat:
 tintin++/DESCR                   | 11 ++++++-----
 tintin++/Makefile                |  4 ++--
 tintin++/distinfo                |  7 ++++---
 tintin++/patches/patch-forkpty.c | 37 +++++++++++++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 10 deletions(-)

diffs:
diff --git a/tintin++/DESCR b/tintin++/DESCR
index ec2f4ffb88..fa21467799 100644
--- a/tintin++/DESCR
+++ b/tintin++/DESCR
@@ -1,5 +1,6 @@
-TinTin++ is a command line MUD client which features support for TELNET, PCRE,
-UTF-8, SSL, VT100, IPv6, the dynamic TINTIN scripting language, a comprensive
-trigger system, and several other features geared towards mudding, scripting,
-shell-scripting, text processing, automation, interprocess communication,
-redirection, xterm terminal emulation, and multiplexing / demultiplexing.
+TinTin++ is a command line MUD client which features support for
+TELNET, PCRE, UTF-8, SSL, VT100, IPv6, the dynamic TINTIN scripting
+language, a comprensive trigger system, and several other features
+geared towards mudding, scripting, shell-scripting, text processing,
+automation, interprocess communication, redirection, xterm terminal
+emulation, and multiplexing / demultiplexing.
diff --git a/tintin++/Makefile b/tintin++/Makefile
index fb226d0499..a80fc704d7 100644
--- a/tintin++/Makefile
+++ b/tintin++/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=      tintin-2.02.31
+DISTNAME=	tintin-2.02.61
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GITHUB:=scandum/}
 GITHUB_RELEASE=	${PKGVERSION_NOREV}
@@ -13,6 +13,6 @@ LICENSE=	gnu-gpl-v3
 WRKSRC=		${WRKDIR}/tt/src
 GNU_CONFIGURE=	yes
 
-.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/tintin++/distinfo b/tintin++/distinfo
index 43e9fe0052..bcabd8f738 100644
--- a/tintin++/distinfo
+++ b/tintin++/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
-BLAKE2s (tintin-2.02.31.tar.gz) = 7a75851aa6fbfd46df66f88f817b2d702ac488f29b4279bbc6cac5fca6bc46bb
-SHA512 (tintin-2.02.31.tar.gz) = 1d152c929cf4df3ed3b3b80c8c350fb5916c778e5860eda6f18f09e97ad94cb1e5ba9d0176354cf1a5ee96373533a6fa1b63bf92b40140c7658da39ef41ba74a
-Size (tintin-2.02.31.tar.gz) = 2343909 bytes
+BLAKE2s (tintin-2.02.61.tar.gz) = 5cdabbc7eb164a368a31f8a933dbaf91d9f38037ecffbc4004af55a6565860ce
+SHA512 (tintin-2.02.61.tar.gz) = a285f6f88b3aac8385ab9e199ac20e234929222d3d5e563cfe522c84b061293c86ef679caedadfd8f2e9eae84d85ed96a617ba9a33e714d711df106503db8b58
+Size (tintin-2.02.61.tar.gz) = 2337671 bytes
+SHA1 (patch-forkpty.c) = d8d19b63793d56298ef8c68c4818d80304e488e1
diff --git a/tintin++/patches/patch-forkpty.c b/tintin++/patches/patch-forkpty.c
new file mode 100644
index 0000000000..a77b93cab6
--- /dev/null
+++ b/tintin++/patches/patch-forkpty.c
@@ -0,0 +1,37 @@
+$NetBSD$
+
+Bypass linux-specific ioctl(3) calls
+
+--- forkpty.c.orig	2026-11-17 21:55:18.545444024 +0000
++++ forkpty.c
+@@ -20,7 +20,9 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/termios.h>
++#ifndef __NetBSD__
+ #include <stropts.h>
++#endif
+ 
+ #define DEV_PTMX "/dev/ptmx"
+ 
+@@ -77,6 +79,12 @@ int open_slave(char *name)
+ int open_slave(char *name)
+ {
+ 	int fd;
++#ifdef __NetBSD__
++	fd = open(name, O_RDWR | O_NOCTTY);
++	if (fd < 0)
++		return EPTMX_OPEN;
++	return fd;
++#else
+ 	int status;
+ 
+ 	fd = open(name, O_RDWR);
+@@ -112,6 +120,7 @@ int open_slave(char *name)
+ 	}
+ 
+ 	return fd;
++#endif
+ }
+ 
+ 


Home | Main Index | Thread Index | Old Index