pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/PC6001VX



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Wed Apr  8 13:39:14 UTC 2026

Modified Files:
        pkgsrc/emulators/PC6001VX: Makefile distinfo
Added Files:
        pkgsrc/emulators/PC6001VX/patches: patch-src_console.cpp

Log Message:
PC6001VX: appease ctype(3) assertion during startup on NetBSD 11.0_RC3

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 pkgsrc/emulators/PC6001VX/Makefile
cvs rdiff -u -r1.53 -r1.54 pkgsrc/emulators/PC6001VX/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/PC6001VX/patches/patch-src_console.cpp

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

Modified files:

Index: pkgsrc/emulators/PC6001VX/Makefile
diff -u pkgsrc/emulators/PC6001VX/Makefile:1.122 pkgsrc/emulators/PC6001VX/Makefile:1.123
--- pkgsrc/emulators/PC6001VX/Makefile:1.122    Fri Feb  6 10:04:40 2026
+++ pkgsrc/emulators/PC6001VX/Makefile  Wed Apr  8 13:39:14 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.122 2026/02/06 10:04:40 wiz Exp $
+# $NetBSD: Makefile,v 1.123 2026/04/08 13:39:14 tsutsui Exp $
 
 VERSION=               4.3.0
 DISTNAME=              PC6001VX_${VERSION}_src
 PKGNAME=               ${DISTNAME:S/_src//:S/_/-/}
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            emulators
 MASTER_SITES=          https://eighttails.up.seesaa.net/bin/
 

Index: pkgsrc/emulators/PC6001VX/distinfo
diff -u pkgsrc/emulators/PC6001VX/distinfo:1.53 pkgsrc/emulators/PC6001VX/distinfo:1.54
--- pkgsrc/emulators/PC6001VX/distinfo:1.53     Sun Nov 23 18:32:28 2025
+++ pkgsrc/emulators/PC6001VX/distinfo  Wed Apr  8 13:39:14 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.53 2025/11/23 18:32:28 tsutsui Exp $
+$NetBSD: distinfo,v 1.54 2026/04/08 13:39:14 tsutsui Exp $
 
 BLAKE2s (PC6001VX_4.3.0_src.tar.gz) = 2b452547efcd25af06cedbcf7b5b3f6bf158383845fa227a0bff88adfb891e99
 SHA512 (PC6001VX_4.3.0_src.tar.gz) = 63f41d494cb5c434eadbcc75d5ed1b1db8adb1c5d3c46d6d3775fdb69222e0b67ba254cb2b92aee521930d51431140da9d0651ab158df035ca2912b88bdbeb6f
 Size (PC6001VX_4.3.0_src.tar.gz) = 5991508 bytes
+SHA1 (patch-src_console.cpp) = f4bed6e9f4564bf50bd115b028c1511efdac8b2a

Added files:

Index: pkgsrc/emulators/PC6001VX/patches/patch-src_console.cpp
diff -u /dev/null pkgsrc/emulators/PC6001VX/patches/patch-src_console.cpp:1.1
--- /dev/null   Wed Apr  8 13:39:14 2026
+++ pkgsrc/emulators/PC6001VX/patches/patch-src_console.cpp     Wed Apr  8 13:39:14 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_console.cpp,v 1.1 2026/04/08 13:39:14 tsutsui Exp $
+
+- Appease "type(3) isprint: invalid input: -106" assertion during startup
+  by strict NetBSD 11 ctype(3).
+
+--- src/console.cpp.orig       2026-04-08 10:55:26.368043367 +0000
++++ src/console.cpp
+@@ -288,7 +288,7 @@ void ZCons::sprintc( const std::string& 
+                       break;
+                       
+               default:        // 普通の文字
+-                      if( std::isprint( str[i] ) ){
++                      if( std::isprint( (int)(BYTE)str[i] ) ){
+                               PutCharH( str[i] );
+                       }else{
+                               PutCharZ( ((BYTE)str[i] << 8) | (BYTE)str[i+1] );
+@@ -324,7 +324,7 @@ void ZCons::sprintr( const std::string& 
+       Locate( x - num + 1, y );
+       
+       for( size_t i = max( str.length() - num, 0 ); i < str.length(); i++ ){
+-              if( std::isprint( str[i] ) ){
++              if( std::isprint( (int)(BYTE)str[i] ) ){
+                       PutCharH( str[i] );
+               }else{
+                       PutCharZ( ((BYTE)str[i] << 8) | (BYTE)str[i+1] );



Home | Main Index | Thread Index | Old Index