summaryrefslogtreecommitdiff
path: root/math/dcdflib.f/patches/patch-aa
diff options
context:
space:
mode:
authorrillig <rillig>2006-06-09 10:26:05 +0000
committerrillig <rillig>2006-06-09 10:26:05 +0000
commit325527a46090ee69dedd6bab92125d90da687c30 (patch)
treeb44b68bfe0917001a0204fc78bb6091cf0c62e0c /math/dcdflib.f/patches/patch-aa
parent005025586174db44b7ae70180e7c98d48abd2e78 (diff)
downloadpkgsrc-325527a46090ee69dedd6bab92125d90da687c30.tar.gz
Fixed pkglint warnings. Fixed gcc warnings. Bumped PKGREVISION since the
unfixed package may silently fail when sizeof(int) != sizeof(long).
Diffstat (limited to 'math/dcdflib.f/patches/patch-aa')
-rw-r--r--math/dcdflib.f/patches/patch-aa9
1 files changed, 5 insertions, 4 deletions
diff --git a/math/dcdflib.f/patches/patch-aa b/math/dcdflib.f/patches/patch-aa
index ec660b8565c..6c70649124c 100644
--- a/math/dcdflib.f/patches/patch-aa
+++ b/math/dcdflib.f/patches/patch-aa
@@ -1,12 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/04/17 00:19:57 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2006/06/09 10:26:05 rillig Exp $
--- /dev/null Tue Apr 17 00:09:13 2001
-+++ ipmpar.c
-@@ -0,0 +1,24 @@
++++ src/ipmpar.c
+@@ -0,0 +1,25 @@
+#include <float.h>
+#include <limits.h>
+#include <math.h>
+#include <stdio.h>
++#include <stdlib.h>
+
+int
+ipmpar_ (int *i)
@@ -23,7 +24,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/04/17 00:19:57 jtb Exp $
+ case 9: return DBL_MIN_EXP;
+ case 10: return FLT_MAX_EXP;
+ }
-+ fprintf (stderr, "invalid argument: ipmpar(%ld)\n", *i);
++ fprintf (stderr, "invalid argument: ipmpar(%d)\n", *i);
+ exit (1);
+ return 0;
+}