summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/mpcomplex/Makefile8
-rw-r--r--math/mpcomplex/distinfo10
-rw-r--r--math/mpcomplex/patches/patch-src_get.c12
3 files changed, 16 insertions, 14 deletions
diff --git a/math/mpcomplex/Makefile b/math/mpcomplex/Makefile
index 069bad18fbe..78a338e9017 100644
--- a/math/mpcomplex/Makefile
+++ b/math/mpcomplex/Makefile
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.3 2011/09/14 17:14:09 hans Exp $
+# $NetBSD: Makefile,v 1.4 2012/08/05 18:24:56 marino Exp $
-DISTNAME= mpc-0.9
-PKGNAME= mpcomplex-0.9
+DISTNAME= mpc-1.0
+PKGNAME= mpcomplex-1.0
CATEGORIES= math
MASTER_SITES= http://www.multiprecision.org/mpc/download/
MAINTAINER= MarkoSchuetz@web.de
HOMEPAGE= http://www.multiprecision.org/mpc/
COMMENT= Multiprecision complex arithmetic library
-LICENSE= gnu-lgpl-v2.1
+LICENSE= gnu-lgpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/math/mpcomplex/distinfo b/math/mpcomplex/distinfo
index 55bfda5f284..1fafc778272 100644
--- a/math/mpcomplex/distinfo
+++ b/math/mpcomplex/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2011/10/13 13:22:46 hans Exp $
+$NetBSD: distinfo,v 1.4 2012/08/05 18:24:56 marino Exp $
-SHA1 (mpc-0.9.tar.gz) = 229722d553030734d49731844abfef7617b64f1a
-RMD160 (mpc-0.9.tar.gz) = 63d5fb8ab2725839e7565716c4d20187b606e2c8
-Size (mpc-0.9.tar.gz) = 565953 bytes
-SHA1 (patch-src_get.c) = 439d4bb0dc8714b111787d21f8f14b8da5588fcd
+SHA1 (mpc-1.0.tar.gz) = 20af7cc481433c019285a2c1757ac65e244e1e06
+RMD160 (mpc-1.0.tar.gz) = 9880676913b99537099617da7955028ccf99c878
+Size (mpc-1.0.tar.gz) = 628311 bytes
+SHA1 (patch-src_get.c) = 25495981765971c031b5a92dce098a44e53413c8
diff --git a/math/mpcomplex/patches/patch-src_get.c b/math/mpcomplex/patches/patch-src_get.c
index 2e80dabd669..71547cd3d4a 100644
--- a/math/mpcomplex/patches/patch-src_get.c
+++ b/math/mpcomplex/patches/patch-src_get.c
@@ -1,11 +1,13 @@
-$NetBSD: patch-src_get.c,v 1.1 2011/10/13 13:22:46 hans Exp $
+$NetBSD: patch-src_get.c,v 1.2 2012/08/05 18:24:56 marino Exp $
---- src/get.c.orig 2011-01-26 09:47:17.000000000 +0100
-+++ src/get.c 2011-10-13 01:09:15.618498023 +0200
-@@ -28,6 +28,13 @@ MA 02111-1307, USA. */
+Work around bug in SunOS complex.h to make this build with Sun's gcc
+
+--- src/get_x.c.orig 2011-11-04 18:20:19.000000000 +0000
++++ src/get_x.c
+@@ -35,6 +35,13 @@ along with this program. If not, see htt
#include "mpc-impl.h"
- #if defined _MPC_H_HAVE_COMPLEX
+ #ifdef HAVE_COMPLEX_H
+
+#if defined(__sun) && defined(__GNUC__) && defined(_Imaginary_I)
+#undef I