summaryrefslogtreecommitdiff
path: root/lang/f2c
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2007-02-15 13:29:19 +0000
committerdmcmahill <dmcmahill>2007-02-15 13:29:19 +0000
commitc4452da339c076031809e5e9a251ea120d2daf11 (patch)
treed454866c7423861bb0fd761d482e35acc58ca5e0 /lang/f2c
parent08cdeefca0ecc337746994a6a0f86eaa414642b2 (diff)
downloadpkgsrc-c4452da339c076031809e5e9a251ea120d2daf11.tar.gz
Add __sparcv9 to the list for 64-bit systems. Fixes compilation on
solaris in 64 bit mode. Patch from Gilles Dauphin.
Diffstat (limited to 'lang/f2c')
-rw-r--r--lang/f2c/distinfo4
-rw-r--r--lang/f2c/patches/patch-ai6
2 files changed, 5 insertions, 5 deletions
diff --git a/lang/f2c/distinfo b/lang/f2c/distinfo
index be8c5d24abd..3751def6b43 100644
--- a/lang/f2c/distinfo
+++ b/lang/f2c/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2007/02/05 14:33:21 dmcmahill Exp $
+$NetBSD: distinfo,v 1.16 2007/02/15 13:29:19 dmcmahill Exp $
SHA1 (f2c-20001205.tar.gz) = f3cc1653eb962fee45d850df50890fc53448a17f
RMD160 (f2c-20001205.tar.gz) = b376105c33ca53df46cab458082b26dbc9a53762
@@ -10,6 +10,6 @@ SHA1 (patch-ae) = f17254cab1449273ca44e652ed2f1a586a9a3e19
SHA1 (patch-af) = fe24139c21862e85c576118166b7deab8e421572
SHA1 (patch-ag) = 08d145e598ea5d376cee34ec42c7a98cae80668d
SHA1 (patch-ah) = 54e4679e33cf3adc3b0d2b8b5b4e98cf26370319
-SHA1 (patch-ai) = 641d3720c80cfb7d1c23981bb845b0a9bee3e6d7
+SHA1 (patch-ai) = a8f5aa7137cf3352e3e89ce6d787e01128abe8ec
SHA1 (patch-aj) = c58361fbbfc06e033b2a47e1d1e370716c4b185c
SHA1 (patch-ak) = 5d95d88cb7118ee7b1047db24880cbd49a782807
diff --git a/lang/f2c/patches/patch-ai b/lang/f2c/patches/patch-ai
index 9508cca8b13..f5d120a022a 100644
--- a/lang/f2c/patches/patch-ai
+++ b/lang/f2c/patches/patch-ai
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.4 2004/03/13 13:47:40 dmcmahill Exp $
+$NetBSD: patch-ai,v 1.5 2007/02/15 13:29:19 dmcmahill Exp $
required to make
sizeof(integer) == sizeof(real)
@@ -11,7 +11,7 @@ sizeof(logical) == sizeof(real)
@@ -8,5 +8,9 @@
#define F2C_INCLUDE
-+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__)
++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__sparcv9)
+typedef int integer;
+#else
typedef long int integer;
@@ -21,7 +21,7 @@ sizeof(logical) == sizeof(real)
@@ -16,5 +20,9 @@
typedef struct { real r, i; } complex;
typedef struct { doublereal r, i; } doublecomplex;
-+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__)
++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__sparcv9)
+typedef int logical;
+#else
typedef long int logical;