From da7c4dfd8906817f42143896503cb6173d232b39 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 17 Mar 2007 16:15:01 +0000 Subject: [PATCH] Fixed build error on NetBSD 4. --- geography/vis5d+/distinfo | 3 ++- geography/vis5d+/patches/patch-ad | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 geography/vis5d+/patches/patch-ad diff --git a/geography/vis5d+/distinfo b/geography/vis5d+/distinfo index 2039464c58d8..63e036e9cf26 100644 --- a/geography/vis5d+/distinfo +++ b/geography/vis5d+/distinfo @@ -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 diff --git a/geography/vis5d+/patches/patch-ad b/geography/vis5d+/patches/patch-ad new file mode 100644 index 000000000000..52c7f6fd6ae9 --- /dev/null +++ b/geography/vis5d+/patches/patch-ad @@ -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