Date: Mon, 3 Dec 2012 09:51:46 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308130 - in head/devel/fortran-utils: . files Message-ID: <201212030951.qB39pkjw096431@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Mon Dec 3 09:51:46 2012 New Revision: 308130 URL: http://svnweb.freebsd.org/changeset/ports/308130 Log: - Fix build with clang - Trim Makefile header Feature safe: yes Modified: head/devel/fortran-utils/Makefile (contents, props changed) head/devel/fortran-utils/files/patch-fpr.c (contents, props changed) Modified: head/devel/fortran-utils/Makefile ============================================================================== --- head/devel/fortran-utils/Makefile Mon Dec 3 09:41:07 2012 (r308129) +++ head/devel/fortran-utils/Makefile Mon Dec 3 09:51:46 2012 (r308130) @@ -1,9 +1,5 @@ -# New ports collection makefile for: fortran-utils -# Date created: 19 Dec 1999 -# Whom: kris@FreeBSD.org -# +# Created by: kris@FreeBSD.org # $FreeBSD$ -# PORTNAME= fortran-utils PORTVERSION= 1.1 Modified: head/devel/fortran-utils/files/patch-fpr.c ============================================================================== --- head/devel/fortran-utils/files/patch-fpr.c Mon Dec 3 09:41:07 2012 (r308129) +++ head/devel/fortran-utils/files/patch-fpr.c Mon Dec 3 09:51:46 2012 (r308130) @@ -1,5 +1,5 @@ ---- fpr/fpr.c.orig Fri May 27 14:31:21 1994 -+++ fpr/fpr.c Sat Jun 12 23:49:50 2004 +--- fpr/fpr.c.orig 1994-05-27 14:31:21.000000000 +0200 ++++ fpr/fpr.c 2012-12-03 10:50:48.000000000 +0100 @@ -45,6 +45,7 @@ #endif /* not lint */ @@ -8,17 +8,26 @@ #define BLANK ' ' #define TAB '\t' -@@ -80,9 +81,6 @@ +@@ -80,12 +81,13 @@ int maxpos; int maxcol; -extern char *malloc(); -extern char *calloc(); -extern char *realloc(); +- +- ++void init(); ++void mygettext(); ++void flush(); ++void savech(int); ++void nospace(); - - -@@ -124,7 +122,7 @@ ++int + main() + { + register int ch; +@@ -124,7 +126,7 @@ while ( ! ateof) { @@ -27,12 +36,48 @@ ch = getchar(); if (ch == EOF) { -@@ -210,7 +208,7 @@ +@@ -176,6 +178,7 @@ + + + ++void + init() + { + register COLUMN *cp; +@@ -210,7 +213,8 @@ -gettext() ++void +mygettext() { register int i; register char ateol; +@@ -283,8 +287,8 @@ + + + +-savech(col) +-int col; ++void ++savech(int col) + { + register char ch; + register int oldmax; +@@ -340,6 +344,7 @@ + + + ++void + flush() + { + register int i; +@@ -403,6 +408,7 @@ + + + ++void + nospace() + { + fputs("Storage limit exceeded.\n", stderr);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212030951.qB39pkjw096431>