summaryrefslogtreecommitdiff
path: root/lang/f2c/patches
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
commit3a87120a36e93510147f7ed60b701e070afa53e1 (patch)
tree9537ab93a64038893f7a4e631b7cc2f46fb622f0 /lang/f2c/patches
parent921707bf9aef16a8ff07c91caae466deef2e3b4e (diff)
downloadpkgsrc-3a87120a36e93510147f7ed60b701e070afa53e1.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/patches')
-rw-r--r--lang/f2c/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
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)
+ {