From owner-svn-ports-all@FreeBSD.ORG Mon Dec 3 09:51:47 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FCF2A2A; Mon, 3 Dec 2012 09:51:47 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 09BB18FC13; Mon, 3 Dec 2012 09:51:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB39pkKN096434; Mon, 3 Dec 2012 09:51:46 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB39pkjw096431; Mon, 3 Dec 2012 09:51:46 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201212030951.qB39pkjw096431@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 3 Dec 2012 09:51:46 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 09:51:47 -0000 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);