From owner-svn-ports-head@freebsd.org Wed May 11 21:55:10 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6E8BB37BCC; Wed, 11 May 2016 21:55:10 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9839C1D59; Wed, 11 May 2016 21:55:10 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4BLt9L7031541; Wed, 11 May 2016 21:55:09 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4BLt9WS031539; Wed, 11 May 2016 21:55:09 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201605112155.u4BLt9WS031539@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Wed, 11 May 2016 21:55:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415039 - head/devel/fortran-utils/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 21:55:10 -0000 Author: bapt Date: Wed May 11 21:55:09 2016 New Revision: 415039 URL: https://svnweb.freebsd.org/changeset/ports/415039 Log: Prevent collision with getline(3) while here regen patches Added: head/devel/fortran-utils/files/patch-fpr_fpr.c (contents, props changed) head/devel/fortran-utils/files/patch-fsplit_fsplit.c (contents, props changed) Deleted: head/devel/fortran-utils/files/patch-fpr.c Added: head/devel/fortran-utils/files/patch-fpr_fpr.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/fortran-utils/files/patch-fpr_fpr.c Wed May 11 21:55:09 2016 (r415039) @@ -0,0 +1,83 @@ +--- fpr/fpr.c.orig 1994-05-27 12:31:21 UTC ++++ fpr/fpr.c +@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)fpr.c 8.1 (B + #endif /* not lint */ + + #include ++#include + + #define BLANK ' ' + #define TAB '\t' +@@ -80,12 +81,13 @@ COLUMN *line; + int maxpos; + int maxcol; + +-extern char *malloc(); +-extern char *calloc(); +-extern char *realloc(); +- +- ++void init(); ++void mygettext(); ++void flush(); ++void savech(int); ++void nospace(); + ++int + main() + { + register int ch; +@@ -124,7 +126,7 @@ main() + + while ( ! ateof) + { +- gettext(); ++ mygettext(); + ch = getchar(); + if (ch == EOF) + { +@@ -176,6 +178,7 @@ main() + + + ++void + init() + { + register COLUMN *cp; +@@ -210,7 +213,8 @@ init() + + + +-gettext() ++void ++mygettext() + { + register int i; + register char ateol; +@@ -283,8 +287,8 @@ gettext() + + + +-savech(col) +-int col; ++void ++savech(int col) + { + register char ch; + register int oldmax; +@@ -340,6 +344,7 @@ int col; + + + ++void + flush() + { + register int i; +@@ -403,6 +408,7 @@ flush() + + + ++void + nospace() + { + fputs("Storage limit exceeded.\n", stderr); Added: head/devel/fortran-utils/files/patch-fsplit_fsplit.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/fortran-utils/files/patch-fsplit_fsplit.c Wed May 11 21:55:09 2016 (r415039) @@ -0,0 +1,29 @@ +--- fsplit/fsplit.c.orig 2000-01-30 21:03:32 UTC ++++ fsplit/fsplit.c +@@ -97,7 +97,7 @@ struct stat sbuf; + + #define trim(p) while (*p == ' ' || *p == '\t') p++ + +-int getline __P((void)); ++int get_line __P((void)); + void get_name __P((char *, int)); + char *functs __P((char *)); + int lend __P((void)); +@@ -171,7 +171,7 @@ char **argv; + errx(1, "can not open %s", x); + nflag = 0; + rv = 0; +- while (getline() > 0) { ++ while (get_line() > 0) { + rv = 1; + fprintf(ofp, "%s", buf); + if (lend()) /* look for an 'end' statement */ +@@ -263,7 +263,7 @@ int letters; + } + + int +-getline() ++get_line() + { + register char *ptr; +