NetBSD Problem Report #26577
Received: (qmail 7549 invoked by uid 605); 7 Aug 2004 01:21:07 -0000
Message-Id: <E1BtFau-0000Oy-00@wwid.roland-illig.de>
Date: Sat, 07 Aug 2004 03:01:56 +0200
From: Roland Illig <roland.illig@gmx.de>
Sender: gnats-bugs-owner@NetBSD.org
Reply-To:
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: patches for bwbasic are currently downloaded but not installed
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:
>Number: 26577
>Category: pkg
>Synopsis: (see subject)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Aug 07 01:22:00 +0000 2004
>Closed-Date: Mon Aug 09 21:45:48 +0000 2004
>Last-Modified: Mon Aug 09 21:45:48 +0000 2004
>Originator: Roland Illig
>Release:
>Organization:
>Environment:
System: Linux wwid 2.4.22-1-k7 #5 Sat Oct 4 14:11:12 EST 2003 i686 GNU/Linux
Architecture: i686
>Description:
The Makefile for lang/bwbasic mentions some files with patches and
downloads them but does not integrate them into the source directory
before compiling the basic interpreter.
>How-To-Repeat:
>Fix:
--- Makefile 27 Jan 2004 00:53:11 -0000 1.7
+++ Makefile 7 Aug 2004 00:55:45 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $
DISTNAME= bwbasic-2.20
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.rahul.net/pub/rhn/
EXTRACT_SUFX= .tar.Z
@@ -15,6 +15,10 @@
SHARE_DIR= ${PREFIX}/share/bwbasic
+post-extract:
+ ${CP} -p ${WRKSRC}/../bwb-2.20-patch01/* ${WRKSRC}
+ ${CP} -p ${WRKSRC}/../bwb-2.20-patch02/* ${WRKSRC}
+
post-install:
${INSTALL_DATA_DIR} ${SHARE_DIR}
${CP} -r ${WRKSRC}/bwbtest ${SHARE_DIR}
>Release-Note:
>Audit-Trail:
From: Quentin Garnier <cube@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/26577 CVS commit: pkgsrc/lang/bwbasic
Date: Mon, 9 Aug 2004 21:41:23 +0000 (UTC)
Module Name: pkgsrc
Committed By: cube
Date: Mon Aug 9 21:41:23 UTC 2004
Modified Files:
pkgsrc/lang/bwbasic: Makefile distinfo
Log Message:
Update to version 2.20pl2, as hinted by Roland Illig in PR 26577. While
here, find a new fetch site since the previous one didn't work any more.
Patch1:
bwb_cnd.c
Moved init routine for bwb_while so that it would be initialized regardless
of expression value, not just if TRUE. This was causing some segmentation
faults in WHILE-WEND loops.
bwb_elx.c
Plugged gaping memory leak. Temp variable space for expression evaluation
was being allocated but not freed when done (oops!).
bwb_fnc.c
Added check for NULL return from getenv to prevent segmentation faults.
Patch2:
bwb_cmd.c
Fixed calling stack level logic in RETURN statement to prevent erroneous
"RETURN without GOSUB" messages.
bwb_cnd.c
bwb_stc.c
Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL
to be != FALSE, not == TRUE. More in line with common commercial
BASIC implementations.
bwb_mth.c
Fixed initialization in VAL function so that old results are not later
returned as values.
bwb_var.c
Added parenthesis level checking to dim_getparams. Using multi-level
expressions as array subscripts was causing the program to bomb.
bwx_iqc.c
bwx_tty.c
bwb_mes.h
Added second copyright notice.
bwb_dio.c
bwb_str.c
Added support for strings longer than 255 characters.
bwb_prn.c
Disabled tab expansion and print width checks when not printing to a file.
bwb_inp.c
Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE.
bwx_ncu.h
bwx_ncu.c
New files. Code for UNIX ncurses interface, compliments of L.C. Benschop,
Eindhoven, The Netherlands.
Makefile.ncu
New files. Sample makefile for ncurses implementation.
bwbasic.h
Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits.
Revised define for MAXSTRINGSIZE from 255 to 5000 characters.
Changed string length from unsigned char to unsigned int to support strings
longer than 255 characters.
Added support for new ncurses package.
Revised VERSION define to reflect above changes.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/lang/bwbasic/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/bwbasic/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: cube
State-Changed-When: Mon Aug 9 21:45:23 UTC 2004
State-Changed-Why:
A patch was committed.
Thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.