FreeBSD Bugzilla – Attachment 34499 Details for
Bug 56039
Update port: lang/open-cobol to 0.23
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.32 KB, created by
tkato
on 2003-08-27 16:10:24 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato
Created:
2003-08-27 16:10:24 UTC
Size:
2.32 KB
patch
obsolete
>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 @@ >-@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 >-@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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56039
: 34499