Sun Mar 16 04:52:42 2014 UTC ()
Update 1.3.2J

Fix PR pkg/48659 from Yasushi Oshima.
* Enable UTF-8 support

Changelog:
* Changes in opensource COBOL 1.3.2J

** New features

*** Merged OpenCOBOL 1.1CE updates.
    *** Thanks to The OpenCOBOL Project! ***

*** New compiler warning option: -Wcompat
    (1) multiply after division in a numeric expression
    (2) GO TO over the SECTION boundary
    (3) X, NX Literal usage

*** Supports for compatibility issues found in existing COBOL programs:

*** "COPY JOINING AS PREFIX/SUFFIX", "COPY PREFIXING/SUFFIXING"

*** 'OR' in "GREATER/LESS THAN OR EQUAL" to optional

*** Treat full-width spaces as blank(token delimiter) in source text

*** accept data description without period

*** accept SPECIAL-NAMES without period

*** accept IO-CONTROL without period

*** accept syntax of INDEXED before KEY in OCCURS clause

*** ND, NX Literal, and N, NC Literal in SJIS mode

*** RESERVE "NO" in SELECT statement - syntactically accepted, no functionality

*** cheating DATE value by environment variable (set COB_DATE=yyyy/mm/dd)

*** put sort/merge result record count on console (when set COB_VERBOSE=Y)

*** implicitly substitute WRITE with REWRITE on the file opened in I-O mode (when set COB_IO_ASSUME_REWRITE=Y)

*** treat sign-nibble 'C' as 'F' in unsigned packed numeric value, when also type checking.

*** added another device naming format in assign clause (conf.parameter assign-clause: jph1)

*** UPSI 0-7 aliased to SWITCH1-8

*** INVALID KEY for sequential READ/WRITE (conf.parameter use-invalidkey-handler-on-status34)

*** COBOL68 style COPY semantics in data description clause (conf.parameter cobol68-copy-in-data-description)

*** accept key field name on right hand side of WHEN expression in SEARCH statement (conf.parameter allow-search-key-in-rhs)

*** added optional "IS" for SORT KEY spec. syntax

*** ignore "RECORD CONTAINS" (conf.parameter ignore-invalid-record-contains)

** Changes

*** omit checking field reference in DATA RECORDS

*** improve parser error recovery and source line-number in messages

** Other Updates

*** added some tests

*** updated message catalog for 'ja'

*** fixed bug in decording multibytes chars in section/paragraph name in compile messages

-----------------------------------------------------------------------

* Changes in opensource COBOL 1.3.1J

** New features

*** Enhanced SPLIT KEY support also accepts multiple key items specified for RECORD KEY.

*** Added SPLIT KEY support to START statement.

*** Added compilation warning that SPLIT KEY is currently only available on VB-ISAM
    (and other ISAM compatibles).

*** Conditional compiler directive $IF.

*** Automatic file creation on opening non exisiting file for I-O, EXTEND.

*** Added DELETE FILE statement.

** Bug fixes

*** Fixed the problem that COPY statement ignores the last line of each copybook when
    it does not end with line break. Actually same as opensource COBOL 1.2J, applied
    again to repair corruption in recent changes.

*** Restored compilation warning for KEY phrase in READ statement on the SEQUENTIAL
    mode file. It seemed to have been corrupted in recent changes.

*** Fixed problem that DYNAMIC phrase has no effect when -assign_external option is
    specified.

*** Fixed problem that some options are never passed to READ routine in USERFH.

*** Fixed problem of build time causes error when no curses library given.

*** Fixed some segfault on compilation error.

*** Fixed problem eliminates record length information on READing, SORTing variable
    length record.

*** Fixed internal error on long Japanese word in PROGRAM-ID.


(ryoon)
diff -r1.2 -r1.3 pkgsrc/lang/opensource-cobol/Makefile
diff -r1.1 -r1.2 pkgsrc/lang/opensource-cobol/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/lang/opensource-cobol/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/opensource-cobol/Makefile 2013/05/26 04:15:40 1.2
+++ pkgsrc/lang/opensource-cobol/Makefile 2014/03/16 04:52:42 1.3
@@ -1,35 +1,37 @@ @@ -1,35 +1,37 @@
1# $NetBSD: Makefile,v 1.2 2013/05/26 04:15:40 ryoon Exp $ 1# $NetBSD: Makefile,v 1.3 2014/03/16 04:52:42 ryoon Exp $
2 2
3DISTNAME= opensource-cobol-1.3J-utf8 3DISTNAME= opensource-cobol-1.3.2J-utf8
4PKGNAME= ${DISTNAME:S/-utf8//} 4PKGNAME= ${DISTNAME:S/-utf8//}
5CATEGORIES= lang 5CATEGORIES= lang
6MASTER_SITES= -http://www.osscons.jp/osscobol/files/?action=cabinet_action_main_download&block_id=412&room_id=21&cabinet_id=11&file_id=154&upload_id=304 6MASTER_SITES= -http://www.osscons.jp/osscobol/files/?action=cabinet_action_main_download&block_id=414&room_id=21&cabinet_id=11&file_id=193&upload_id=388
7 7
8MAINTAINER= ryoon@NetBSD.org 8MAINTAINER= ryoon@NetBSD.org
9HOMEPAGE= http://www.osscons.jp/osscobol/ 9HOMEPAGE= http://www.osscons.jp/osscobol/
10COMMENT= UTF-8 version of opensource COBOL, OpenCOBOL with Japanese extensions 10COMMENT= UTF-8 version of opensource COBOL, OpenCOBOL with Japanese extensions
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13CONFLICTS= opencobol-[0-9]* open-cobol-ce-[0-9]* 13CONFLICTS= opencobol-[0-9]* open-cobol-ce-[0-9]*
14 14
15WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 15WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
16 16
17BDB_ACCEPTED= db4 17BDB_ACCEPTED= db4
18 18
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
20USE_LIBTOOL= yes 20USE_LIBTOOL= yes
21USE_PKGLOCALEDIR= yes 21USE_PKGLOCALEDIR= yes
22 22
 23CONFIGURE_ARGS+= --enable-utf8
 24
23TEST_TARGET= check 25TEST_TARGET= check
24 26
25#BUILDLINK_TRANSFORM+= l:db:db4 27#BUILDLINK_TRANSFORM+= l:db:db4
26 28
27# XXX This SUBST will work for NetBSD. Be more intelligent. 29# XXX This SUBST will work for NetBSD. Be more intelligent.
28SUBST_CLASSES+= bdb 30SUBST_CLASSES+= bdb
29SUBST_MESSAGE.bdb= Fixing runrime error. 31SUBST_MESSAGE.bdb= Fixing runrime error.
30SUBST_STAGE.bdb= pre-configure 32SUBST_STAGE.bdb= pre-configure
31SUBST_FILES.bdb= configure 33SUBST_FILES.bdb= configure
32SUBST_SED.bdb= -e 's,db-4.4,db4,g' 34SUBST_SED.bdb= -e 's,db-4.4,db4,g'
33SUBST_SED.bdb+= -e 's,ncurses,curses,g' 35SUBST_SED.bdb+= -e 's,ncurses,curses,g'
34 36
35INFO_FILES= yes 37INFO_FILES= yes

cvs diff -r1.1 -r1.2 pkgsrc/lang/opensource-cobol/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/opensource-cobol/distinfo 2013/05/26 01:31:53 1.1
+++ pkgsrc/lang/opensource-cobol/distinfo 2014/03/16 04:52:42 1.2
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.1 2013/05/26 01:31:53 ryoon Exp $ 1$NetBSD: distinfo,v 1.2 2014/03/16 04:52:42 ryoon Exp $
2 2
3SHA1 (opensource-cobol-1.3J-utf8.tar.gz) = 9d79411d55681f52b7d5f6e8a825ff9eb323149e 3SHA1 (opensource-cobol-1.3.2J-utf8.tar.gz) = d2accfa0b7dc0efce48c06ff1be98c267c1a0ab4
4RMD160 (opensource-cobol-1.3J-utf8.tar.gz) = 169acfebbd0040067349a4c1d85235b3c1e99302 4RMD160 (opensource-cobol-1.3.2J-utf8.tar.gz) = cfdc3f3892bcd75ca83215e4346e5a3e37e28763
5Size (opensource-cobol-1.3J-utf8.tar.gz) = 1119551 bytes 5Size (opensource-cobol-1.3.2J-utf8.tar.gz) = 1204733 bytes
 6SHA1 (patch-bin_Makefile.in) = fa71482bedd5bf6fade229db0c464691109fd6be