diff options
author | ryoon <ryoon> | 2012-01-15 15:29:31 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-01-15 15:29:31 +0000 |
commit | 674e06246feb7d6df8d2287e1851abb95bb6b2b7 (patch) | |
tree | a2f56806cc5fef94c7ec60aeff421f3abf2fe23a /lang/bwbasic/patches | |
parent | 2ff370eb786f971a7a7b450a4b9d3eb37816152a (diff) | |
download | pkgsrc-674e06246feb7d6df8d2287e1851abb95bb6b2b7.tar.gz |
Update to 2.50
Based on PR pkg/42846
Changelog:
CHANGES FROM 2.40 to 2.50
* Bug fixes
* New compilation procedure for MVS and CMS
CHANGES FROM 2.30 to 2.40
* Bug fixes from Bill Chatfield
* Updated documentation
* Added support for compiling on CMS (another IBM mainframe OS)
CHANGES FROM 2.20pl2 to 2.30
* Minor bug fixes, cosmetic improvements and portability improvements
* Added support for compiling on MVS (IBM mainframe)
Tested on NetBSD/i3865.99.59 and 5.1.
Diffstat (limited to 'lang/bwbasic/patches')
-rw-r--r-- | lang/bwbasic/patches/patch-aa | 8 | ||||
-rw-r--r-- | lang/bwbasic/patches/patch-ab | 22 | ||||
-rw-r--r-- | lang/bwbasic/patches/patch-ac | 22 | ||||
-rw-r--r-- | lang/bwbasic/patches/patch-ad | 15 | ||||
-rw-r--r-- | lang/bwbasic/patches/patch-bwbasic.h | 23 |
5 files changed, 38 insertions, 52 deletions
diff --git a/lang/bwbasic/patches/patch-aa b/lang/bwbasic/patches/patch-aa index 6474fcbddb2..51177063f17 100644 --- a/lang/bwbasic/patches/patch-aa +++ b/lang/bwbasic/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.3 2009/03/02 14:27:12 joerg Exp $ +$NetBSD: patch-aa,v 1.4 2012/01/15 15:29:31 ryoon Exp $ ---- bwbasic-2.20/Makefile.in.orig Sat Nov 25 14:32:18 1995 -+++ bwbasic-2.20/Makefile.in Sun Feb 6 16:12:49 2000 -@@ -16,9 +16,10 @@ +--- Makefile.in.orig 2009-06-04 12:50:16.000000000 +0000 ++++ Makefile.in +@@ -16,9 +16,10 @@ INSTALL_DATA = @INSTALL_DATA@ DEFS = @DEFS@ diff --git a/lang/bwbasic/patches/patch-ab b/lang/bwbasic/patches/patch-ab deleted file mode 100644 index a2787303c18..00000000000 --- a/lang/bwbasic/patches/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2005/12/30 23:29:36 joerg Exp $ - ---- bwbasic-2.20/bwbasic.c.orig 2005-12-30 23:25:02.000000000 +0000 -+++ bwbasic-2.20/bwbasic.c -@@ -51,7 +51,7 @@ - char *bwb_ebuf; /* error buffer */ - static char *read_line; - int bwb_trace = FALSE; --FILE *errfdevice = stderr; /* output device for error messages */ -+FILE *errfdevice; /* output device for error messages */ - - #if HAVE_LONGJUMP - jmp_buf mark; -@@ -133,6 +133,8 @@ bwb_init( argc, argv ) - static char end_buf[] = "\0"; - #endif - -+ errfdevice = stderr; -+ - #if INTENSIVE_DEBUG - prn_xprintf( stderr, "Memory Allocation Statistics:\n" ); - prn_xprintf( stderr, "----------------------------\n" ); diff --git a/lang/bwbasic/patches/patch-ac b/lang/bwbasic/patches/patch-ac index e2235228eaf..99334e8928b 100644 --- a/lang/bwbasic/patches/patch-ac +++ b/lang/bwbasic/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ +$NetBSD: patch-ac,v 1.3 2012/01/15 15:29:31 ryoon Exp $ ---- bwbasic-2.20/bwbasic.doc Tue Oct 12 19:30:12 1993 -+++ bwbasic-2.20/bwbasic.1 Fri Feb 11 22:42:36 2000 +--- bwbasic.doc.orig 2006-10-24 05:40:18.000000000 +0000 ++++ bwbasic.doc @@ -1,33 +1,10 @@ - - @@ -43,7 +43,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ The Bywater BASIC Interpreter (bwBASIC) implements a large superset of the ANSI Standard for Minimal BASIC (X3.60-1978) -@@ -60,7 +37,7 @@ +@@ -60,7 +37,7 @@ CONTENTS: offer further shell-processing capabilities. @@ -52,7 +52,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ This version of Bywater BASIC is released under the terms of the GNU General Public License (GPL), which is distributed with this -@@ -71,7 +48,7 @@ +@@ -71,7 +48,7 @@ CONTENTS: for information on which you should contact the author. @@ -61,7 +61,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ Be aware that many of these commands and functions will not be available unless you have set certain flags in the header files -@@ -199,7 +176,7 @@ +@@ -199,7 +176,7 @@ CONTENTS: WRITE [# device-number,] element [, element ].... @@ -70,7 +70,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ 4.a. Interactive Environment -@@ -305,7 +282,7 @@ +@@ -305,7 +282,7 @@ CONTENTS: aliases to allow Microsoft-style programs to be run. @@ -79,7 +79,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ The "Dependencies" listed in the folowing reference materials refers to flags that must be set to TRUE in bwbasic.h for the -@@ -1636,7 +1613,7 @@ +@@ -1636,7 +1613,7 @@ CONTENTS: ------------------------------------------ @@ -88,7 +88,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ BWB.EDITOR$ BWB.FILES$ -@@ -1669,7 +1646,7 @@ +@@ -1669,7 +1646,7 @@ CONTENTS: (specifically CLS, LOCATE, and INKEY$) may be available. @@ -97,7 +97,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ There are some items not implemented that have been so long a part of standard BASICs that their absence will seem surprising. -@@ -1853,7 +1830,7 @@ +@@ -1853,7 +1830,7 @@ CONTENTS: ZONEWIDTH @@ -106,7 +106,7 @@ $NetBSD: patch-ac,v 1.2 2005/11/03 22:19:01 rillig Exp $ This program was originally begun in 1982 by my grandmother, Mrs. Verda Spell of Beaumont, TX. She was writing the program using -@@ -1873,9 +1850,3 @@ +@@ -1873,9 +1850,3 @@ CONTENTS: bag and eventually managed to have it all copied over to a PC diskette. I have revised it slightly prior to this release. You should know, though, that I myself am an historian, not a programmer. diff --git a/lang/bwbasic/patches/patch-ad b/lang/bwbasic/patches/patch-ad deleted file mode 100644 index a8cef79f814..00000000000 --- a/lang/bwbasic/patches/patch-ad +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2011/08/29 06:09:19 dholland Exp $ - -- fix void main. - ---- bwbasic-2.20/bwx_tty.c~ 2011-08-29 06:01:48.000000000 +0000 -+++ bwbasic-2.20/bwx_tty.c -@@ -66,7 +66,7 @@ extern jmp_buf mark; - ***************************************************************/ - - #if ANSI_C --void -+int - main( int argc, char **argv ) - #else - main( argc, argv ) diff --git a/lang/bwbasic/patches/patch-bwbasic.h b/lang/bwbasic/patches/patch-bwbasic.h new file mode 100644 index 00000000000..80737989f0b --- /dev/null +++ b/lang/bwbasic/patches/patch-bwbasic.h @@ -0,0 +1,23 @@ +$NetBSD: patch-bwbasic.h,v 1.1 2012/01/15 15:29:31 ryoon Exp $ + +* Suppress redefined messages. + +--- bwbasic.h.orig 2009-06-04 12:50:18.000000000 +0000 ++++ bwbasic.h +@@ -111,10 +111,16 @@ + ***************************************************************/ + + #ifdef __STDC__ ++#ifndef HAVE_RAISE + #define HAVE_RAISE TRUE ++#endif ++#ifndef HAVE_STRING + #define HAVE_STRING TRUE ++#endif ++#ifndef HAVE_STDLIB + #define HAVE_STDLIB TRUE + #endif ++#endif + + #ifdef __STDC__ + #define HAVE_SIGNAL TRUE |