summaryrefslogtreecommitdiff
path: root/lang/f2c
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2004-09-15 12:27:26 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2004-09-15 12:27:26 +0000
commit876b17606e49d9b96fd037f789d4d4f5dbf69eb0 (patch)
tree9537ab93a64038893f7a4e631b7cc2f46fb622f0 /lang/f2c
parent8a8be137a1aa6782436e2b75bd453990bfe2c8a8 (diff)
downloadpkgsrc-876b17606e49d9b96fd037f789d4d4f5dbf69eb0.tar.gz
add a minor patch to make this package actually work on 64 bit systems.
hello.f works on alpha's too now.
Diffstat (limited to 'lang/f2c')
-rw-r--r--lang/f2c/distinfo3
-rw-r--r--lang/f2c/patches/patch-af13
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/f2c/distinfo b/lang/f2c/distinfo
index 83355bdb253..0dbe61ea396 100644
--- a/lang/f2c/distinfo
+++ b/lang/f2c/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2004/09/14 22:09:40 dmcmahill Exp $
+$NetBSD: distinfo,v 1.11 2004/09/15 12:27:26 dmcmahill Exp $
SHA1 (f2c-20001205.tar.gz) = f3cc1653eb962fee45d850df50890fc53448a17f
Size (f2c-20001205.tar.gz) = 988607 bytes
@@ -7,6 +7,7 @@ SHA1 (patch-ab) = 97c676fa452daa674e11348412ccb26d38a7baa4
SHA1 (patch-ac) = 6fc52f9257cdecd3784e7f8897cce8b5656b73e4
SHA1 (patch-ad) = 7f204a45891e3632589ea8fb0e4e379a0a792dea
SHA1 (patch-ae) = 037cc8aed72a3088771ab24077ff19b009e63ebf
+SHA1 (patch-af) = fe24139c21862e85c576118166b7deab8e421572
SHA1 (patch-ag) = 5f294e491ba4730aa7047ad53fa710a0698c2649
SHA1 (patch-ai) = 641d3720c80cfb7d1c23981bb845b0a9bee3e6d7
SHA1 (patch-aj) = c58361fbbfc06e033b2a47e1d1e370716c4b185c
diff --git a/lang/f2c/patches/patch-af b/lang/f2c/patches/patch-af
new file mode 100644
index 00000000000..4c93f9d296f
--- /dev/null
+++ b/lang/f2c/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.5 2004/09/15 12:27:26 dmcmahill Exp $
+
+--- libI77/lwrite.c.orig Wed Sep 15 12:00:47 2004
++++ libI77/lwrite.c
+@@ -248,7 +248,7 @@ l_write(ftnint *number, char *ptr, ftnle
+ double y,z;
+ real *xx;
+ doublereal *yy;
+- for(i=0;i< *number; i++)
++ for(i=0;i< (int)*number; i++)
+ {
+ switch((int)type)
+ {