Fixed build error on NetBSD 4.

This commit is contained in:
rillig 2007-03-17 16:15:01 +00:00
parent f6ec84d9a4
commit da7c4dfd89
2 changed files with 19 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.3 2005/02/22 21:08:32 agc Exp $
$NetBSD: distinfo,v 1.4 2007/03/17 16:15:01 rillig Exp $
SHA1 (vis5d+-1.2.1.tar.gz) = d99ec14fd8e6e482ab360abbd00adf36e7fd541b
RMD160 (vis5d+-1.2.1.tar.gz) = b9eda9ab8a754a968c03ce54622b0c4fe918937d
@ -6,3 +6,4 @@ Size (vis5d+-1.2.1.tar.gz) = 2278840 bytes
SHA1 (patch-aa) = 114ed11fbf8368554d1f57562a3423010cd155ba
SHA1 (patch-ab) = 923d373d343ede9ec621e6514ff3ad6dcbce777b
SHA1 (patch-ac) = 1389db298fe78372b048899a72f87bb7ffcf4e58
SHA1 (patch-ad) = ca09cecd68078fb253a8b95a576d9b1210654c08

View file

@ -0,0 +1,17 @@
$NetBSD: patch-ad,v 1.1 2007/03/17 16:15:02 rillig Exp $
f2c complains:
Error on line 172 of igmk3d.f: Statement order error: declaration after DATA
--- util/igmk3d.f.orig 2001-10-24 12:46:49.000000000 +0200
+++ util/igmk3d.f 2007-03-17 17:13:03.000000000 +0100
@@ -168,8 +168,8 @@ C
DIMENSION GRID(*),TABLE(64)
INTEGER HEAD(64)
CHARACTER*8 FILNAM
- DATA HEDSIZ/64/,LASNO/-999/
INTEGER*4 MAXGRD
+ DATA HEDSIZ/64/,LASNO/-999/
C
C
c IF(GFNO.NE.LASNO) THEN