Mon Nov 22 01:25:49 2010 UTC ()
Update to pForth version 27.
Assume maintainership.

Changes since version 21:

V27
    - Fixed REPOSITION-FILE FILE-SIZE and FILE-POSITION.
      They used to use single precision offset. Now use double as specified.
    - Delete object directories in Makefile clean.
    - Fixed "Issue 4: Filehandle remains locked upon INCLUDE error".
      http://code.google.com/p/pforth/issues/detail?id=4&can=1
    - Fixed scrambled HISTORY on 64-bit systems. Was using CELL+ but really needed 4 +.
    - Fixed floating point input. Now accepts "1E" as 1.0. Was Issue #2.
    - Fixed lots of warning and made code compatible with C89 and ANSI. Uses -pedantic.
    - Use fseek and ftell on WIN32 instead of fseeko and ftello.
    - Makefile is now more standard. Builds in same dir as Makefile. Uses CFLAGS etc.
    - Add support for console IO with _WATCOMC_
    - Internal CStringToForth and ForthStringToC now take a destination size for safety.
    - Run units tests for CStringToForth and ForthStringToC if PF_UNIT_TESTS is defined.

V26  5/20/2010
    - 64-bit support for M* UM/MOD etc by Aleksej Saushev. Thanks Aleksej!

V25  5/19/2010
    - Added 64-bit CELL support contributed by Aleksej Saushev. Thanks Aleksej!
    - Added "-x c" to Makefile CCOPTS to prevent confusion with C++
	- Allow space after -d command line option.
	- Restore normal tty mode if pForth dictionary loading fails.

V24 2/20/09
	- Fixed Posix IO on Mac. ?TERMINAL was always returning true.
	- ACCCEPT now emits a space at end of line before output.
	- Fixed RESIZE because it was returning the wrong address.

V23 8/4/2008
	- Removed -v option from mkdir in build/unix/Makefile. It was not supported on FreeBSD.
	  Thank you Alexsej Saushev for reporting this.

V23  7/20/2008
    - Reorganized for Google Code project.

V22  (unreleased)
    - Added command line history and cursor control words.
	- Sped up UM* and M* by a factor of 3. Thanks to Steve Green for suggested algorithm.
	- Modified ACCEPT so that a line at the end of a file that does NOT have a line
	    terminator will now be processed.
	- Use _getch(), _putch(), and _kbhit() so that KEY, EMIT and ?TERMINAL will work on PC.
	- Fixed  : foo { -- } 55 ;  - Was entering local frame but not exiting. Now prints error.
    - Redefined MAKE_ID to protect it from 16 bit ints
    - John Providenza says "If you split local variables onto 2 lines, PForth crashes." Fixed. Also allow \
    - Fixed float evaluation in EVALUATE in "quit.fth".
    - Flush register cache for ffColon and ffSemiColon to prevent stack warnings from ;


(asau)
diff -r1.1 -r1.2 pkgsrc/lang/pforth/DESCR
diff -r1.23 -r1.24 pkgsrc/lang/pforth/Makefile
diff -r1.3 -r1.4 pkgsrc/lang/pforth/PLIST
diff -r1.6 -r1.7 pkgsrc/lang/pforth/distinfo
diff -r1.4 -r0 pkgsrc/lang/pforth/patches/patch-aa
diff -r1.2 -r0 pkgsrc/lang/pforth/patches/patch-ab

cvs diff -r1.1 -r1.2 pkgsrc/lang/pforth/DESCR (expand / switch to unified diff)

--- pkgsrc/lang/pforth/DESCR 2001/11/01 00:24:32 1.1
+++ pkgsrc/lang/pforth/DESCR 2010/11/22 01:25:48 1.2
@@ -1,18 +1,13 @@ @@ -1,18 +1,13 @@
1PForth is an ANSI style Forth designed to be portable across many 1PForth is an ANSI style Forth designed to be portable across many
2platforms. The 'P' in pForth stands for "Portable". PForth is based 2platforms. The 'P' in pForth stands for "Portable". PForth is based
3on a Forth kernel written in ANSI standard 'C'. 3on a Forth kernel written in ANSI standard 'C'.
4 4
5PForth has been designed with portability as the primary design 5PForth has been designed with portability as the primary design goal.
6goal. As a result, pForth avoids any fancy UNIX calls. pForth also 6As a result, pForth avoids any fancy Unix calls. pForth also avoids
7avoids using any clever and original ways of constructing the Forth 7using any clever and original ways of constructing the Forth
8dictionary. It just compiles its kernel from ANSI compatible 'C' code 8dictionary. It just compiles its kernel from ANSI compatible 'C' code
9then loads ANS compatible Forth code to build the dictionary. Very 9then loads ANS compatible Forth code to build the dictionary.
10boring but very likely to work on almost any platform. 10Very boring but very likely to work on almost any platform.
11 11
12The pForth software code is dedicated to the public domain, and any 12The pForth software code is distributed under MIT licence with parts
13third party may reproduce, distribute and modify the pForth software 13dedicated to the public domain.
14code or any derivative works thereof without any compensation or 
15license. The pForth software code is provided on an "as is" basis 
16without any warranty of any kind, including, without limitation, the 
17implied warranties of merchantability and fitness for a particular 
18purpose and their equivalents under the laws of any jurisdiction. 

cvs diff -r1.23 -r1.24 pkgsrc/lang/pforth/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/pforth/Makefile 2010/02/15 16:41:46 1.23
+++ pkgsrc/lang/pforth/Makefile 2010/11/22 01:25:48 1.24
@@ -1,45 +1,31 @@ @@ -1,45 +1,31 @@
1# $NetBSD: Makefile,v 1.23 2010/02/15 16:41:46 joerg Exp $ 1# $NetBSD: Makefile,v 1.24 2010/11/22 01:25:48 asau Exp $
2 2
3DISTNAME= pfthpc21 3DISTNAME= pforth_v27_20101121
4PKGNAME= pforth-21 4PKGNAME= pforth-27
5PKGREVISION= 2 
6CATEGORIES= lang 5CATEGORIES= lang
7MASTER_SITES= http://www.softsynth.com/pforth/ 6MASTER_SITES= http://pforth.googlecode.com/files/
8EXTRACT_SUFX= .zip 7EXTRACT_SUFX= .zip
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= asau@NetBSD.org
11HOMEPAGE= http://www.softsynth.com/pforth/ 10HOMEPAGE= http://www.softsynth.com/pforth/
12COMMENT= Portable ANS-like Forth 11COMMENT= Portable ANS-like Forth
 12LICENSE= mit
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
15 15
16WRKSRC= ${WRKDIR} 16WRKSRC= $(WRKDIR)/pforth_v27
17USE_LANGUAGES= c++ 17MAKE_FILE= build/unix/Makefile
18USE_TOOLS+= gmake 18MAKE_FLAGS= SRCDIR=.
 19CPPFLAGS= -DPF_DEFAULT_DICTIONARY='"$(PREFIX)/lib/pforth/pforth.dic"'
19 20
20NOT_FOR_PLATFORM= ${LP64PLATFORMS} 21INSTALLATION_DIRS= bin lib/pforth share/doc/pforth share/pforth share/pforth/utils
21 
22INSTALLATION_DIRS= bin 
23 
24post-extract: 
25 ${MKDIR} ${WRKSRC}/objects 
26 
27post-patch: 
28 ${MV} ${WRKSRC}/csrc/pf_main.c ${WRKSRC}/csrc/pf_main.c.dist 
29 ${SED} -e 's:@PREFIX@:${PREFIX}:g' ${WRKSRC}/csrc/pf_main.c.dist \ 
30 > ${WRKSRC}/csrc/pf_main.c 
31 22
32do-install: 23do-install:
33 ${INSTALL_PROGRAM} ${WRKSRC}/pforth ${DESTDIR}${PREFIX}/bin 24 ${INSTALL_PROGRAM} ${WRKSRC}/pforth ${DESTDIR}${PREFIX}/bin
34 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pforth 
35 ${INSTALL_DATA} ${WRKSRC}/pforth.dic ${DESTDIR}${PREFIX}/lib/pforth 25 ${INSTALL_DATA} ${WRKSRC}/pforth.dic ${DESTDIR}${PREFIX}/lib/pforth
36 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/pforth 26 ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/pforth/
37 ${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/docs/* \ 27 ${INSTALL_DATA} ${WRKSRC}/fth/*.fth ${DESTDIR}${PREFIX}/share/pforth/
38 ${DESTDIR}${PREFIX}/share/doc/pforth/ 28 ${INSTALL_DATA} ${WRKSRC}/fth/utils/*.fth \
39 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pforth 
40 ${INSTALL_DATA} ${WRKSRC}/*.fth ${DESTDIR}${PREFIX}/share/pforth/ 
41 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pforth/utils 
42 ${INSTALL_DATA} ${WRKSRC}/utils/*.fth \ 
43 ${DESTDIR}${PREFIX}/share/pforth/utils/ 29 ${DESTDIR}${PREFIX}/share/pforth/utils/
44 30
45.include "../../mk/bsd.pkg.mk" 31.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/lang/pforth/PLIST (expand / switch to unified diff)

--- pkgsrc/lang/pforth/PLIST 2009/08/29 18:53:57 1.3
+++ pkgsrc/lang/pforth/PLIST 2010/11/22 01:25:48 1.4
@@ -1,50 +1,53 @@ @@ -1,50 +1,53 @@
1@comment $NetBSD: PLIST,v 1.3 2009/08/29 18:53:57 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.4 2010/11/22 01:25:48 asau Exp $
2bin/pforth 2bin/pforth
3lib/pforth/pforth.dic 3lib/pforth/pforth.dic
4share/doc/pforth/README.txt 4share/doc/pforth/readme.txt
5share/doc/pforth/pf_ref.htm 
6share/doc/pforth/pf_todo.txt 
7share/doc/pforth/pf_tut.htm 
8share/doc/pforth/pfmanual.txt 
9share/pforth/ansilocs.fth 5share/pforth/ansilocs.fth
10share/pforth/bench.fth 6share/pforth/bench.fth
11share/pforth/bloop.fth 
12share/pforth/c_struct.fth 7share/pforth/c_struct.fth
13share/pforth/case.fth 8share/pforth/case.fth
14share/pforth/catch.fth 
15share/pforth/checkit.fth 
16share/pforth/condcomp.fth 9share/pforth/condcomp.fth
17share/pforth/coretest.fth 10share/pforth/coretest.fth
18share/pforth/filefind.fth 11share/pforth/filefind.fth
19share/pforth/floats.fth 12share/pforth/floats.fth
20share/pforth/forget.fth 13share/pforth/forget.fth
 14share/pforth/history.fth
 15share/pforth/loadhist.fth
21share/pforth/loadp4th.fth 16share/pforth/loadp4th.fth
22share/pforth/locals.fth 17share/pforth/locals.fth
23share/pforth/math.fth 18share/pforth/math.fth
24share/pforth/member.fth 19share/pforth/member.fth
25share/pforth/misc1.fth 20share/pforth/misc1.fth
26share/pforth/misc2.fth 21share/pforth/misc2.fth
27share/pforth/numberio.fth 22share/pforth/numberio.fth
28share/pforth/private.fth 23share/pforth/private.fth
29share/pforth/quit.fth 24share/pforth/savedicd.fth
30share/pforth/see.fth 25share/pforth/see.fth
31share/pforth/siev.fth 26share/pforth/siev.fth
32share/pforth/smart_if.fth 27share/pforth/smart_if.fth
33share/pforth/strings.fth 28share/pforth/strings.fth
34share/pforth/system.fth 29share/pforth/system.fth
35share/pforth/t_alloc.fth 30share/pforth/t_alloc.fth
 31share/pforth/t_case.fth
36share/pforth/t_corex.fth 32share/pforth/t_corex.fth
37share/pforth/t_floats.fth 33share/pforth/t_floats.fth
 34share/pforth/t_include.fth
 35share/pforth/t_load.fth
 36share/pforth/t_load_defer.fth
 37share/pforth/t_load_pairs.fth
 38share/pforth/t_load_semi.fth
 39share/pforth/t_load_undef.fth
38share/pforth/t_locals.fth 40share/pforth/t_locals.fth
 41share/pforth/t_nolf.fth
39share/pforth/t_strings.fth 42share/pforth/t_strings.fth
40share/pforth/t_tools.fth 43share/pforth/t_tools.fth
 44share/pforth/termio.fth
41share/pforth/tester.fth 45share/pforth/tester.fth
42share/pforth/trace.fth 46share/pforth/trace.fth
43share/pforth/tut.fth 47share/pforth/tut.fth
44share/pforth/utils/clone.fth 48share/pforth/utils/clone.fth
45share/pforth/utils/dump_struct.fth 49share/pforth/utils/dump_struct.fth
46share/pforth/utils/load_file.fth 50share/pforth/utils/load_file.fth
47share/pforth/utils/make_all256.fth 51share/pforth/utils/make_all256.fth
48share/pforth/utils/savedicd.fth 
49share/pforth/utils/trace.fth 52share/pforth/utils/trace.fth
50share/pforth/wordslik.fth 53share/pforth/wordslik.fth

cvs diff -r1.6 -r1.7 pkgsrc/lang/pforth/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/pforth/distinfo 2009/08/25 11:56:35 1.6
+++ pkgsrc/lang/pforth/distinfo 2010/11/22 01:25:48 1.7
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.6 2009/08/25 11:56:35 wiz Exp $ 1$NetBSD: distinfo,v 1.7 2010/11/22 01:25:48 asau Exp $
2 2
3SHA1 (pfthpc21.zip) = 550de4405f593004ff6e957a1c294bd801167e5b 3SHA1 (pforth_v27_20101121.zip) = 66b9f3927a877afecca2c303157b7127291802f6
4RMD160 (pfthpc21.zip) = cd5ab920efad2098351be98f86955d0e10ea61b2 4RMD160 (pforth_v27_20101121.zip) = e39965a79d4845763b6b767f5f7781f0d3758208
5Size (pfthpc21.zip) = 295565 bytes 5Size (pforth_v27_20101121.zip) = 209538 bytes
6SHA1 (patch-aa) = 7e875a466fb4577457120bf4165adb9339a20193 6SHA1 (patch-aa) = da39a3ee5e6b4b0d3255bfef95601890afd80709
7SHA1 (patch-ab) = bce3729fabfd196b11562ccdc2e559455e29176e 7SHA1 (patch-ab) = da39a3ee5e6b4b0d3255bfef95601890afd80709

File Deleted: pkgsrc/lang/pforth/patches/Attic/patch-aa

File Deleted: pkgsrc/lang/pforth/patches/Attic/patch-ab