pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libf2c Remove the patch-ai which used to fix 64-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df89e0cd8c7f
branches:  trunk
changeset: 568208:df89e0cd8c7f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Dec 07 12:15:25 2009 +0000

description:
Remove the patch-ai which used to fix 64-bit types in f2c.h.
Now it breaks stuff on amd64 instead, notably math/lapack.
NB: This change makes "make test" fail for this package on amd64.
On the other hand, math/fftw (which uses lapack) test suite succeeds.
Maybe tests here are simply broken ...

Bump revision and bl3 dependency.

diffstat:

 devel/libf2c/Makefile         |   3 ++-
 devel/libf2c/buildlink3.mk    |   4 ++--
 devel/libf2c/distinfo         |   3 +--
 devel/libf2c/patches/patch-ai |  30 ------------------------------
 4 files changed, 5 insertions(+), 35 deletions(-)

diffs (74 lines):

diff -r cf5ae957de46 -r df89e0cd8c7f devel/libf2c/Makefile
--- a/devel/libf2c/Makefile     Mon Dec 07 12:12:43 2009 +0000
+++ b/devel/libf2c/Makefile     Mon Dec 07 12:15:25 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/12/02 22:32:46 asau Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/07 12:15:25 tnn Exp $
 
 DISTNAME=      libf2c-20090201
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_LOCAL}    # see notes below
 
diff -r cf5ae957de46 -r df89e0cd8c7f devel/libf2c/buildlink3.mk
--- a/devel/libf2c/buildlink3.mk        Mon Dec 07 12:12:43 2009 +0000
+++ b/devel/libf2c/buildlink3.mk        Mon Dec 07 12:15:25 2009 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/12/02 22:32:46 asau Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/12/07 12:15:25 tnn Exp $
 
 BUILDLINK_TREE+=       libf2c
 
 .if !defined(LIBF2C_BUILDLINK3_MK)
 LIBF2C_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libf2c+= libf2c>=20090201
+BUILDLINK_API_DEPENDS.libf2c+= libf2c>=20090201nb1
 BUILDLINK_PKGSRCDIR.libf2c?=   ../../devel/libf2c
 .endif # LIBF2C_BUILDLINK3_MK
 
diff -r cf5ae957de46 -r df89e0cd8c7f devel/libf2c/distinfo
--- a/devel/libf2c/distinfo     Mon Dec 07 12:12:43 2009 +0000
+++ b/devel/libf2c/distinfo     Mon Dec 07 12:15:25 2009 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/12/02 22:32:46 asau Exp $
+$NetBSD: distinfo,v 1.2 2009/12/07 12:15:25 tnn Exp $
 
 SHA1 (libf2c-20090201.tar.gz) = 85bd1602dce67a4d784fa9815c993202b1da3216
 RMD160 (libf2c-20090201.tar.gz) = 27fe1476eef9431042b67660120285395850d6a7
 Size (libf2c-20090201.tar.gz) = 81983 bytes
-SHA1 (patch-ai) = 3524fe7abcfcdcd636c134c0515279f9172dc7dc
diff -r cf5ae957de46 -r df89e0cd8c7f devel/libf2c/patches/patch-ai
--- a/devel/libf2c/patches/patch-ai     Mon Dec 07 12:12:43 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2009/12/02 22:32:47 asau Exp $
-
-required to make 
-sizeof(integer) == sizeof(real)
-and
-sizeof(logical) == sizeof(real)
-(per f2c/readme)
-
---- f2c.h0.orig        Tue Sep  7 13:46:24 1999
-+++ f2c.h0     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