diff options
author | asau <asau@pkgsrc.org> | 2010-12-14 18:12:40 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2010-12-14 18:12:40 +0000 |
commit | 24e30fa207c2646591026a3bccc0091ecb5292c7 (patch) | |
tree | 8fc19fe230121252b22fcb23c1ef427d6b02eb20 | |
parent | 443de6e15ad9c5f43772136b2196b918a1fe3ce3 (diff) | |
download | pkgsrc-24e30fa207c2646591026a3bccc0091ecb5292c7.tar.gz |
Update to f2c-20100903.
Requested in PR pkg/44076
Changes since previous package:
Wed Jul 7 10:51:12 MDT 2010
src/data.c, src/format.c, src/p1output.c: "invisible" tweaks to
silence warnings seen in compilation under Ubuntu; version.c not changed.
Fri Aug 27 09:14:17 MDT 2010
format.c: make sizeof(buf) depend on MAXNAMELEN to fix a bug with long
names. Update mswin/f2c.exe.gz accordingly.
Fri Sep 3 16:03:24 MDT 2010
fc: have "-m ..." modify CC rather than CFLAGS (to affect linking).
-rw-r--r-- | lang/f2c/Makefile | 5 | ||||
-rw-r--r-- | lang/f2c/distinfo | 11 | ||||
-rw-r--r-- | lang/f2c/patches/patch-al | 15 | ||||
-rw-r--r-- | lang/f2c/patches/patch-am | 19 | ||||
-rw-r--r-- | lang/f2c/patches/patch-an | 15 |
5 files changed, 6 insertions, 59 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile index 90bf340d808..19f0b08cc38 100644 --- a/lang/f2c/Makefile +++ b/lang/f2c/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.58 2010/11/11 07:44:10 adam Exp $ +# $NetBSD: Makefile,v 1.59 2010/12/14 18:12:40 asau Exp $ -DISTNAME= f2c-20090411 # see notes below -PKGREVISION= 5 +DISTNAME= f2c-20100903 # see notes below CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_LOCAL} diff --git a/lang/f2c/distinfo b/lang/f2c/distinfo index 732d58a60f6..56db3d5f11f 100644 --- a/lang/f2c/distinfo +++ b/lang/f2c/distinfo @@ -1,11 +1,8 @@ -$NetBSD: distinfo,v 1.26 2010/07/31 20:31:33 dholland Exp $ +$NetBSD: distinfo,v 1.27 2010/12/14 18:12:40 asau Exp $ -SHA1 (f2c-20090411.tar.gz) = 949e832b84aaa912a99471a95c6fd449898d50e0 -RMD160 (f2c-20090411.tar.gz) = e86ff3de4564267a57f508a5a68e81af2b1a9468 -Size (f2c-20090411.tar.gz) = 1045385 bytes +SHA1 (f2c-20100903.tar.gz) = 388dfae70492d3908d82a1a10a7a12eea88e5dc6 +RMD160 (f2c-20100903.tar.gz) = 043c16f218a10869df27524e0b3dd6e56efd8803 +Size (f2c-20100903.tar.gz) = 1045939 bytes SHA1 (patch-aa) = f1224ff17cdc96f083a247dce88b690e8b939eb0 SHA1 (patch-ad) = 7f204a45891e3632589ea8fb0e4e379a0a792dea SHA1 (patch-ak) = 8652a54df300ddd60d9b1a9594d312349b782cf4 -SHA1 (patch-al) = 9e06670ca6078c47f5cc6132f3f6158ec1757dc7 -SHA1 (patch-am) = 4be770f4ba34cfe7a3e6c27898e42ea6cb921128 -SHA1 (patch-an) = e4ec24f7b6203aa53d1d37848c9fd8a7b29b82dc diff --git a/lang/f2c/patches/patch-al b/lang/f2c/patches/patch-al deleted file mode 100644 index dbb4ed139ce..00000000000 --- a/lang/f2c/patches/patch-al +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-al,v 1.1 2010/07/31 20:31:33 dholland Exp $ - -PR 43291: integer type misuse caught by gcc 4.4 - ---- src/data.c.orig 2001-03-01 21:16:12.000000000 +0000 -+++ src/data.c -@@ -360,7 +360,7 @@ - k = elen - valp->vleng->constblock.Const.ci; - if(k > 0) { - dataline(varname, offset, TYBLANK); -- fprintf(dfile, "\t%d\n", k); -+ fprintf(dfile, "\t%d\n", (int) k); - } - break; - diff --git a/lang/f2c/patches/patch-am b/lang/f2c/patches/patch-am deleted file mode 100644 index 00cee724f75..00000000000 --- a/lang/f2c/patches/patch-am +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-am,v 1.1 2010/07/31 20:31:33 dholland Exp $ - -PR 43291: integer type misuse caught by gcc 4.4 - ---- src/format.c.orig 2003-03-20 18:34:13.000000000 +0000 -+++ src/format.c -@@ -2363,7 +2363,11 @@ p1get_const(FILE *infile, int type, stru - result->vstg = 1; - break; - case TYCHAR: -- status = fscanf(infile, "%lx", resultp); -+ { -+ void *tmp; -+ status = fscanf(infile, "%p", &tmp); -+ *resultp = tmp; -+ } - break; - default: - erri ("p1get_const: bad constant type '%d'", type); diff --git a/lang/f2c/patches/patch-an b/lang/f2c/patches/patch-an deleted file mode 100644 index 6002e2fd93f..00000000000 --- a/lang/f2c/patches/patch-an +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-an,v 1.1 2010/07/31 20:31:33 dholland Exp $ - -PR 43291: integer type misuse caught by gcc 4.4 - ---- src/p1output.c.orig 2001-03-01 21:16:13.000000000 +0000 -+++ src/p1output.c -@@ -206,7 +206,7 @@ p1_const(register Constp cp) - if (vleng && !ISICON (vleng)) - err("p1_const: bad vleng\n"); - else -- fprintf(pass1_file, "%d: %d %lx\n", P1_CONST, type, -+ fprintf(pass1_file, "%d: %d %p\n", P1_CONST, type, - cpexpr((expptr)cp)); - break; - default: |