pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/dcdflib.f Fixed pkglint warnings. Fixed gcc warni...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a77dcc865e96
branches: trunk
changeset: 514239:a77dcc865e96
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Jun 09 10:26:05 2006 +0000
description:
Fixed pkglint warnings. Fixed gcc warnings. Bumped PKGREVISION since the
unfixed package may silently fail when sizeof(int) != sizeof(long).
diffstat:
math/dcdflib.f/Makefile | 13 +++++++------
math/dcdflib.f/distinfo | 6 +++---
math/dcdflib.f/patches/patch-aa | 9 +++++----
math/dcdflib.f/patches/patch-ab | 4 ++--
4 files changed, 17 insertions(+), 15 deletions(-)
diffs (87 lines):
diff -r cea4f1e45201 -r a77dcc865e96 math/dcdflib.f/Makefile
--- a/math/dcdflib.f/Makefile Fri Jun 09 09:58:57 2006 +0000
+++ b/math/dcdflib.f/Makefile Fri Jun 09 10:26:05 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:03 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2006/06/09 10:26:05 rillig Exp $
DISTNAME= dcdflib.f-1.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://odin.mdacc.tmc.edu/pub/source/
@@ -9,12 +9,13 @@
HOMEPAGE= http://odin.mdacc.tmc.edu/anonftp/
COMMENT= Library of Fortran Routines for Cumulative Distribution Functions
-WRKSRC= ${WRKDIR}/dcdflib.f/src
-USE_LANGUAGES= fortran
+WRKSRC= ${WRKDIR}/dcdflib.f
+BUILD_DIRS= src
+USE_LANGUAGES= c fortran
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dcdflib.f
- ${INSTALL_DATA} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/dcdflib.f
- ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/dcdflib.f
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/dcdflib.f
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dcdflib.f
.include "../../mk/bsd.pkg.mk"
diff -r cea4f1e45201 -r a77dcc865e96 math/dcdflib.f/distinfo
--- a/math/dcdflib.f/distinfo Fri Jun 09 09:58:57 2006 +0000
+++ b/math/dcdflib.f/distinfo Fri Jun 09 10:26:05 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 12:06:54 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/06/09 10:26:05 rillig Exp $
SHA1 (dcdflib.f-1.1.tar.gz) = 9b5d730a9f8ac46bb3e1b202c91c444382316dbb
RMD160 (dcdflib.f-1.1.tar.gz) = 8638d6baef6b115ef5e527836b943de7067c5ca8
Size (dcdflib.f-1.1.tar.gz) = 62269 bytes
-SHA1 (patch-aa) = c27575c82fcefa55df6d75449f4b112d7e3cdbe8
-SHA1 (patch-ab) = 45f4ccf4192da712a5cd8c64b37e3638e9fa6a7a
+SHA1 (patch-aa) = aa814270de9e785631cb753d0df37dd05d406e93
+SHA1 (patch-ab) = a60207c28ca7b84d7eb4c1dc093e8b3fe3707c89
diff -r cea4f1e45201 -r a77dcc865e96 math/dcdflib.f/patches/patch-aa
--- a/math/dcdflib.f/patches/patch-aa Fri Jun 09 09:58:57 2006 +0000
+++ b/math/dcdflib.f/patches/patch-aa Fri Jun 09 10:26:05 2006 +0000
@@ -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 @@
+ 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;
+}
diff -r cea4f1e45201 -r a77dcc865e96 math/dcdflib.f/patches/patch-ab
--- a/math/dcdflib.f/patches/patch-ab Fri Jun 09 09:58:57 2006 +0000
+++ b/math/dcdflib.f/patches/patch-ab Fri Jun 09 10:26:05 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/04/17 00:19:57 jtb Exp $
+$NetBSD: patch-ab,v 1.2 2006/06/09 10:26:05 rillig Exp $
--- /dev/null Tue Apr 17 00:09:25 2001
-+++ Makefile
++++ src/Makefile
@@ -0,0 +1,26 @@
+LIB= dcdflib_f
+
Home |
Main Index |
Thread Index |
Old Index