pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/f2c Resurrect patch-ai, it's needed to build on 6...
details: https://anonhg.NetBSD.org/pkgsrc/rev/49df22afb0dd
branches: trunk
changeset: 567648:49df22afb0dd
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Nov 22 21:19:19 2009 +0000
description:
Resurrect patch-ai, it's needed to build on 64-bit platforms. (hi asau!)
diffstat:
lang/f2c/distinfo | 3 ++-
lang/f2c/patches/patch-ai | 30 ++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 1 deletions(-)
diffs (46 lines):
diff -r 2d7cc73f8ae8 -r 49df22afb0dd lang/f2c/distinfo
--- a/lang/f2c/distinfo Sun Nov 22 21:06:20 2009 +0000
+++ b/lang/f2c/distinfo Sun Nov 22 21:19:19 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.21 2009/11/22 12:52:53 asau Exp $
+$NetBSD: distinfo,v 1.22 2009/11/22 21:19:19 tnn Exp $
SHA1 (f2c-20090411.tar.gz) = 949e832b84aaa912a99471a95c6fd449898d50e0
RMD160 (f2c-20090411.tar.gz) = e86ff3de4564267a57f508a5a68e81af2b1a9468
Size (f2c-20090411.tar.gz) = 1045385 bytes
SHA1 (patch-ad) = 7f204a45891e3632589ea8fb0e4e379a0a792dea
+SHA1 (patch-ai) = d8c1f731c18394e0953b6128d0bd597986ab910f
diff -r 2d7cc73f8ae8 -r 49df22afb0dd lang/f2c/patches/patch-ai
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/f2c/patches/patch-ai Sun Nov 22 21:19:19 2009 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ai,v 1.8 2009/11/22 21:19:19 tnn Exp $
+
+required to make
+sizeof(integer) == sizeof(real)
+and
+sizeof(logical) == sizeof(real)
+(per f2c/readme)
+
+--- f2c.h.orig Tue Sep 7 13:46:24 1999
++++ f2c.h Tue Dec 7 18:08:26 1999
+@@ -8,5 +8,9 @@
+ #define F2C_INCLUDE
+
++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__sparcv8) || defined(__sparcv9)
++typedef int integer;
++#else
+ typedef long int integer;
++#endif
+ typedef unsigned long int uinteger;
+ typedef char *address;
+@@ -16,5 +20,9 @@
+ typedef struct { real r, i; } complex;
+ typedef struct { doublereal r, i; } doublecomplex;
++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__sparcv8) || defined(__sparcv9)
++typedef int logical;
++#else
+ typedef long int logical;
++#endif
+ typedef short int shortlogical;
+ typedef char logical1;
Home |
Main Index |
Thread Index |
Old Index