ports/56039: Update port: lang/open-cobol to 0.23
KATO Tsuguru
tkato at prontomail.com
Wed Aug 27 15:10:32 UTC 2003
>Number: 56039
>Category: ports
>Synopsis: Update port: lang/open-cobol to 0.23
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 27 08:10:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.23
New file:
files/patch-libcob::fileio.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/lang/open-cobol/Makefile lang/open-cobol/Makefile
--- /usr/ports/lang/open-cobol/Makefile Wed Aug 27 09:34:48 2003
+++ lang/open-cobol/Makefile Wed Aug 27 10:22:38 2003
@@ -7,8 +7,7 @@
#
PORTNAME= open-cobol
-PORTVERSION= 0.20
-PORTREVISION= 1
+PORTVERSION= 0.23
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -26,5 +25,7 @@
LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --with-readline
INSTALLS_SHLIB= yes
+
+INFO= open-cobol
.include <bsd.port.mk>
diff -urN /usr/ports/lang/open-cobol/distinfo lang/open-cobol/distinfo
--- /usr/ports/lang/open-cobol/distinfo Tue Apr 29 14:02:22 2003
+++ lang/open-cobol/distinfo Mon Jun 16 23:03:02 2003
@@ -1 +1 @@
-MD5 (open-cobol-0.20.tar.gz) = ce698bbac587bba95fb43e38e239db5e
+MD5 (open-cobol-0.23.tar.gz) = a253ca8965dd071c517d3860e9730137
diff -urN /usr/ports/lang/open-cobol/files/patch-libcob::fileio.c lang/open-cobol/files/patch-libcob::fileio.c
--- /usr/ports/lang/open-cobol/files/patch-libcob::fileio.c Thu Jan 1 09:00:00 1970
+++ lang/open-cobol/files/patch-libcob::fileio.c Wed Aug 27 09:59:00 2003
@@ -0,0 +1,20 @@
+--- libcob/fileio.c.orig Wed Jun 11 15:40:20 2003
++++ libcob/fileio.c Wed Aug 27 09:57:31 2003
+@@ -202,13 +202,10 @@
+ else
+ {
+ /* discard input until the next newline */
+- int c = getc (f->file);
+- while (c != '\r' && c != '\n' && c != EOF)
+- c = getc (f->file);
+- if (c == '\r')
+- c = getc (f->file);
+- if (c != '\n' && c != EOF)
+- ungetc (c, f->file);
++ char buff[BUFSIZ];
++ while (fgets (buff, BUFSIZ, f->file) !=NULL)
++ if (strchr (buff, '\n') != NULL)
++ break;
+ }
+
+ memcpy (f->record->data, buff, f->record->size);
diff -urN /usr/ports/lang/open-cobol/pkg-plist lang/open-cobol/pkg-plist
--- /usr/ports/lang/open-cobol/pkg-plist Tue Apr 29 14:02:22 2003
+++ lang/open-cobol/pkg-plist Wed Aug 27 10:09:28 2003
@@ -1,4 +1,3 @@
- at comment $FreeBSD: ports/lang/open-cobol/pkg-plist,v 1.5 2003/04/28 23:54:38 naddy Exp $
bin/cob-config
bin/cobc
etc/libcob.conf
@@ -12,9 +11,6 @@
include/libcob/screenio.h
include/libcob/strings.h
include/libcob/termio.h
- at unexec install-info --delete %D/info/open-cobol.info %D/info/dir
-info/open-cobol.info
- at exec install-info %D/info/open-cobol.info %D/info/dir
lib/libcob.a
lib/libcob.so
lib/libcob.so.1
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list