diff options
author | krion <krion@FreeBSD.org> | 2003-08-28 02:42:30 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-08-28 02:42:30 +0800 |
commit | 307db86b00e7dda0919fe8d1b905a6e301d32de6 (patch) | |
tree | c1dd6a7c139afeedcc025aec381ed6e29c312bc3 /lang/open-cobol | |
parent | e83e0ef74b4fcf5a5036eade70d68fd620945e60 (diff) | |
download | freebsd-ports-gnome-307db86b00e7dda0919fe8d1b905a6e301d32de6.tar.gz freebsd-ports-gnome-307db86b00e7dda0919fe8d1b905a6e301d32de6.tar.zst freebsd-ports-gnome-307db86b00e7dda0919fe8d1b905a6e301d32de6.zip |
- Update to version 0.23
PR: 56039
Submitted by: Ports Fury
Diffstat (limited to 'lang/open-cobol')
-rw-r--r-- | lang/open-cobol/Makefile | 5 | ||||
-rw-r--r-- | lang/open-cobol/distinfo | 2 | ||||
-rw-r--r-- | lang/open-cobol/files/patch-libcob::fileio.c | 20 | ||||
-rw-r--r-- | lang/open-cobol/pkg-plist | 4 |
4 files changed, 24 insertions, 7 deletions
diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile index b1a7607df55b..689994b4b82d 100644 --- a/lang/open-cobol/Makefile +++ b/lang/open-cobol/Makefile @@ -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} @@ -27,4 +26,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ARGS= --with-readline INSTALLS_SHLIB= yes +INFO= open-cobol + .include <bsd.port.mk> diff --git a/lang/open-cobol/distinfo b/lang/open-cobol/distinfo index 3694c8845044..0c44b11ad959 100644 --- a/lang/open-cobol/distinfo +++ b/lang/open-cobol/distinfo @@ -1 +1 @@ -MD5 (open-cobol-0.20.tar.gz) = ce698bbac587bba95fb43e38e239db5e +MD5 (open-cobol-0.23.tar.gz) = a253ca8965dd071c517d3860e9730137 diff --git a/lang/open-cobol/files/patch-libcob::fileio.c b/lang/open-cobol/files/patch-libcob::fileio.c new file mode 100644 index 000000000000..d96315e95d73 --- /dev/null +++ b/lang/open-cobol/files/patch-libcob::fileio.c @@ -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 --git a/lang/open-cobol/pkg-plist b/lang/open-cobol/pkg-plist index 27893181ee92..2538f8f15a2e 100644 --- a/lang/open-cobol/pkg-plist +++ b/lang/open-cobol/pkg-plist @@ -1,4 +1,3 @@ -@comment $FreeBSD$ bin/cob-config bin/cobc etc/libcob.conf @@ -12,9 +11,6 @@ include/libcob/numeric.h include/libcob/screenio.h include/libcob/strings.h include/libcob/termio.h -@unexec install-info --delete %D/info/open-cobol.info %D/info/dir -info/open-cobol.info -@exec install-info %D/info/open-cobol.info %D/info/dir lib/libcob.a lib/libcob.so lib/libcob.so.1 |