pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gnucobol Update to 2.0rc1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f7656194c58
branches:  trunk
changeset: 353836:9f7656194c58
user:      wen <wen%pkgsrc.org@localhost>
date:      Sat Oct 15 13:40:40 2016 +0000

description:
Update to 2.0rc1
Add LICENSE

Upstream changes:
* 20160813 GnuCOBOL 2.0rc1

** User Defined Functions

** New cobc options:
*** -t listing, -T wide listing, --tlines=lines, lines per page of listing
*** -K <entry>, entry point compile static
*** -i -info, display build/environment
*** -j -job=args, run job after compile
*** -P, generate preprocessor listing
*** -Xref, generate cross reference (requires cobxref)
*** -A, add options to C compile phase
*** -Q, add options to C link phase
*** -D define symbol for Compiler Directive Facility
*** -f<tag>=value override .conf configuration setting
*** -list-reserved, -list-intrinsics, -list-mnemonics, -list-system
*** -W enable ALL warnings (more than -Wall, which excludes some)
*** -Wunreachable report on unreachable statements
*** -Wprototypes warn missing FUNCTION prototypes/definitions
*** -fmfcomment * or / in column 1 as comment
*** -facucomment $ in idicator area treated as *, | treated as *>
*** Many compiler messaging changes, refactored for translation
*** input filename of '-' reads source from standard in
*** New -std=cobol2014
*** new configuration settings
**** call-overflow, literal-length, numeric-literal-length
**** specify-reserved-words

** New cobcrun options:
*** -i -info, display build/environment
*** -r -runtime-env, display runtime configuration
*** -c -config, set runtime config from file
*** -M -module, set path/module name when looking for entry

** New build features
*** coloured textsuite output
*** Windows(tm) Visual Studio build support files added to source tree

** New GnuCOBOL features
*** User Defined Functions, FUNCTION-ID.
*** Most of the COBOL 2014 spec Compiler Directive Facility is in
*** Spanish and Dutch messages along with English and Japanese
*** More C/C++ reserved words tested to avoid conflicts
*** screen IO, many extended ACCEPT DISPLAY screen section changes
*** stricter ordering of CONFIGURATION SECTION paragraphs
*** PICTURE clause, more to COBOL 2014 spec
*** ACCEPT OMITTED, waits for return/enter
*** More Intrinsic Functions, including ISO 8601 FORMATTED-DATE and TIME
*** Changes to INITIAL and RECURSIVE program handling, needs to improve more
*** More IEEE numeric types added, FLOAT-DECIMAL-16, FLOAT-DECIMAL-34, etc
*** More SWITCHes, from SWITCH-01 to SWITCH-36
*** TALLY special register predefined
*** More literal types added, numeric boolean etc.
*** Nested OCCURS DEPENDING ON (when proper config settings
*** comment keywords in IDENTIFICATION DIVISION treated as end-of-line comments
*** PROCEDURE DIVISION RETURNING OMITTED support matching void C functions
*** New system functions
**** CBL_OC_HOSTED - provides access to C extern variables, like stdin, errno
*** More support for EC-exception codes
*** SET LAST EXCEPTION TO OFF

* All files created by GnuCOBOL runtime use the same file permission settings
  now: COB_FILE_MODE which was changed to 0666

diffstat:

 lang/gnucobol/Makefile                |   8 +++---
 lang/gnucobol/PLIST                   |   9 +++++++-
 lang/gnucobol/distinfo                |  12 +++++-----
 lang/gnucobol/patches/patch-configure |  36 +++++++++++++---------------------
 4 files changed, 32 insertions(+), 33 deletions(-)

diffs (134 lines):

diff -r 605900d822d1 -r 9f7656194c58 lang/gnucobol/Makefile
--- a/lang/gnucobol/Makefile    Sat Oct 15 12:52:11 2016 +0000
+++ b/lang/gnucobol/Makefile    Sat Oct 15 13:40:40 2016 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.3 2015/08/18 07:31:10 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2016/10/15 13:40:40 wen Exp $
 #
 
-DISTNAME=      gnu-cobol-2.0_nightly_r411
-PKGNAME=       opencobol-2.0alpha1
-PKGREVISION=   2
+DISTNAME=      gnu-cobol-2.0_rc-1
+PKGNAME=       opencobol-2.0rc1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
 
 MAINTAINER=    rodo%bloerp.de@localhost
 HOMEPAGE=      https://sourceforge.net/projects/open-cobol/
 COMMENT=       Open-source COBOL compiler
+LICENSE=       gnu-gpl-v3
 
 CONFLICTS=             opensource-cobol-[0-9]* open-cobol-ce-[0-9]*
 
diff -r 605900d822d1 -r 9f7656194c58 lang/gnucobol/PLIST
--- a/lang/gnucobol/PLIST       Sat Oct 15 12:52:11 2016 +0000
+++ b/lang/gnucobol/PLIST       Sat Oct 15 13:40:40 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/07/01 14:23:55 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/10/15 13:40:40 wen Exp $
 bin/cob-config
 bin/cobc
 bin/cobcrun
@@ -9,13 +9,19 @@
 info/gnucobol.info
 lib/gnu-cobol/CBL_OC_DUMP.so
 lib/libcob.la
+man/man1/cobc.1
+man/man1/cobcrun.1
+share/gnu-cobol/config/acu.conf
 share/gnu-cobol/config/bs2000.conf
 share/gnu-cobol/config/cobol2002.conf
+share/gnu-cobol/config/cobol2014.conf
 share/gnu-cobol/config/cobol85.conf
 share/gnu-cobol/config/default.conf
 share/gnu-cobol/config/ibm.conf
 share/gnu-cobol/config/mf.conf
 share/gnu-cobol/config/mvs.conf
+share/gnu-cobol/config/runtime.cfg
+share/gnu-cobol/config/runtime_empty.cfg
 share/gnu-cobol/copy/screenio.cpy
 share/gnu-cobol/copy/sqlca.cpy
 share/gnu-cobol/copy/sqlda.cpy
@@ -23,3 +29,4 @@
 share/locale/en@quot/LC_MESSAGES/gnu-cobol.mo
 share/locale/es/LC_MESSAGES/gnu-cobol.mo
 share/locale/ja/LC_MESSAGES/gnu-cobol.mo
+share/locale/nl/LC_MESSAGES/gnu-cobol.mo
diff -r 605900d822d1 -r 9f7656194c58 lang/gnucobol/distinfo
--- a/lang/gnucobol/distinfo    Sat Oct 15 12:52:11 2016 +0000
+++ b/lang/gnucobol/distinfo    Sat Oct 15 13:40:40 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2016/01/07 16:01:10 jperkin Exp $
+$NetBSD: distinfo,v 1.4 2016/10/15 13:40:40 wen Exp $
 
-SHA1 (gnu-cobol-2.0_nightly_r411.tar.gz) = 009215c090b9a90fbf02bbc913095ce2a9b31910
-RMD160 (gnu-cobol-2.0_nightly_r411.tar.gz) = a5a219a7d08ea498dab653a02fc54f0fa1205d99
-SHA512 (gnu-cobol-2.0_nightly_r411.tar.gz) = 9b8dfd284ced007e16c449790f28264cb982ecae6e5bf3f70cef560b8ca5d7c3d47c1811d5a6a0197ad45ff869a43a3621f0b08d7bcdde72e5aa6c2be2efc878
-Size (gnu-cobol-2.0_nightly_r411.tar.gz) = 1748284 bytes
-SHA1 (patch-configure) = 6c4cd54fff47adfe818ecac5eff5f30b17c748c5
+SHA1 (gnu-cobol-2.0_rc-1.tar.gz) = 8694b66218a6c02b9cba44094d5d736d8a1b6ded
+RMD160 (gnu-cobol-2.0_rc-1.tar.gz) = bcdf2bc096f4fe26cbcc8e2bb33cf5736417018b
+SHA512 (gnu-cobol-2.0_rc-1.tar.gz) = b6bab2cda3bbf15cb3e063b644f8387176c7c2a30f60611480e2ec7de150d2c43a73a6198c24974c416d1732c71d7b518af7ecd4db7fd0f784278340a95185f7
+Size (gnu-cobol-2.0_rc-1.tar.gz) = 2206047 bytes
+SHA1 (patch-configure) = e225df80bb48110d8156429b925dbed3d9f57cc2
diff -r 605900d822d1 -r 9f7656194c58 lang/gnucobol/patches/patch-configure
--- a/lang/gnucobol/patches/patch-configure     Sat Oct 15 12:52:11 2016 +0000
+++ b/lang/gnucobol/patches/patch-configure     Sat Oct 15 13:40:40 2016 +0000
@@ -1,21 +1,21 @@
-$NetBSD: patch-configure,v 1.2 2016/01/07 16:01:10 jperkin Exp $
+$NetBSD: patch-configure,v 1.3 2016/10/15 13:40:40 wen Exp $
 
 * Improve POSIX shell compatibility.
 * Detect pkgsrc berkeley db library.
 * Don't remove -g.
 
---- configure.orig     2014-08-21 18:24:14.000000000 +0000
+--- configure.orig     2016-08-14 12:21:45.000000000 +0000
 +++ configure
-@@ -13672,7 +13672,7 @@ $as_echo_n "checking matching GMP versio
- COB_GMP_LIB_MAJOR=$(echo $COB_GMP_LIB | cut -d. -f1)
- COB_GMP_LIB_MINOR=$(echo $COB_GMP_LIB | cut -d. -f2)
+@@ -14128,7 +14128,7 @@ $as_echo_n "checking matching GMP versio
+ COB_GMP_LIB_MAJOR=$(echo "$COB_GMP_LIB" | cut -d. -f1)
+ COB_GMP_LIB_MINOR=$(echo "$COB_GMP_LIB" | cut -d. -f2)
  
--if test "$COB_GMP_HEADER" == "$COB_GMP_LIB_MAJOR.$COB_GMP_LIB_MINOR"
-+if test "$COB_GMP_HEADER" = "$COB_GMP_LIB_MAJOR.$COB_GMP_LIB_MINOR"
- then
+-if test "$COB_GMP_HEADER" == "$COB_GMP_LIB_MAJOR.$COB_GMP_LIB_MINOR"; then
++if test "$COB_GMP_HEADER" = "$COB_GMP_LIB_MAJOR.$COB_GMP_LIB_MINOR"; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($COB_GMP_HEADER)" >&5
  $as_echo "yes ($COB_GMP_HEADER)" >&6; }
-@@ -16271,7 +16271,7 @@ $as_echo "no ($COB_BDB_HEADER)" >&6; }
+ else
+@@ -16933,7 +16933,7 @@ $as_echo "no ($COB_BDB_HEADER)" >&6; }
        cob_got_db=no
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley DB library with version $COB_BDB_HEADER" >&5
  $as_echo_n "checking for Berkeley DB library with version $COB_BDB_HEADER... " >&6; }
@@ -24,20 +24,12 @@
        do
                LIBS="$MYOLDLIBS -l$cobdb"
                if test "$cross_compiling" = yes; then :
-@@ -16902,7 +16902,7 @@ COB_EXEEXT="$EXEEXT"
+@@ -17658,7 +17658,7 @@ fi
+ unset enable_cflags_setting
  
- if test "$enable_debug" != "yes" -a "x$CFLAGS" != "x"
- then
--      CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/^ //' -e 's/ $//'`
-+      : CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/^ //' -e 's/ $//'`
+ if test "$enable_debug" != "yes" -a "x$CFLAGS" != "x"; then
+-      CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/-g3//' -e 's/^ //' -e 's/ $//'`
++      : CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/-g3//' -e 's/^ //' -e 's/ $//'`
  fi
  
  # Include CFLAGS in COB_CFLAGS without optimization/debug options
-@@ -16910,7 +16910,6 @@ fi
- cob_temp_flags=""
- if test "x$CFLAGS" != "x"
- then
--      cob_temp_flags=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/ $//' -e 's/^ //'`
-       cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/[+-]O[0-9s]//' -e 's/ $//' -e 's/^ //'`
-       cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-O//' -e 's/ $//' -e 's/^ //'`
-       cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-fmessage-length=0//'`



Home | Main Index | Thread Index | Old Index