Am Mittwoch, 12. Dezember 2012 schrieb Ludovic Courtès:
> Yes, exactly: “everything” depends on GCC, and GCC depends on GMP, MPFR,
> and MPC.  Thus, upgrading one of these leads to a rebuild of everything.
> 
> The way to address it (as is done in Nixpkgs) is to have a staging
> branch for such changes, and to merge it once in a while.  So now is the
> time to inaugurate a new branch.  :-)

Okay. There will soon be a new release of gmp (5.1), this would be a good
time for a merge back.

> Would it be an option for you to send a ‘git format-patch’ kind of
> patch?

Why not, see attached.

Andreas
From ed954467bef2fbd381ccaf1bd196afd835de7282 Mon Sep 17 00:00:00 2001
From: Andreas Enge <[email protected]>
Date: Wed, 12 Dec 2012 20:03:07 +0100
Subject: [PATCH] distro/packages/multiprecision.scm: updated for mpc-1.0.1

---
 distro/packages/multiprecision.scm |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/distro/packages/multiprecision.scm b/distro/packages/multiprecision.scm
index 9cfde88..73bceb3 100644
--- a/distro/packages/multiprecision.scm
+++ b/distro/packages/multiprecision.scm
@@ -95,14 +95,13 @@ double-precision floating-point arithmetic (53-bit mantissa).")
 (define-public mpc
   (package
    (name "mpc")
-   (version "1.0")
+   (version "1.0.1")
    (source (origin
             (method url-fetch)
             (uri (string-append
-                  "http://www.multiprecision.org/mpc/download/mpc-";
-                  version ".tar.gz"))
+                  "mirror://gnu/mpc/mpc-" version ".tar.gz"))
             (sha256 (base32
-                     "00rxjmkpqnv6zzcyw9aa5w6rzaav32ys87km25zgfcv9i32km5cw"))))
+                     "1zq0fidp1jii2j5k5n9hmx55a6wwid33gjzhimvxq9d5zrf82npd"))))
    (build-system gnu-build-system)
    (inputs `(("gmp" ,gmp)
              ("mpfr" ,mpfr)))
@@ -110,7 +109,11 @@ double-precision floating-point arithmetic (53-bit mantissa).")
 with exact rounding")
    (description
     "GNU MPC is a C library for the arithmetic of complex numbers with
-arbitrarily high precision and correct rounding of the result.  It is built
-upon and follows the same principles as GNU MPFR.")
+arbitrarily high precision and correct rounding of the result. It extends
+the principles of the IEEE-754 standard for fixed precision real floating
+point numbers to complex numbers, providing well-defined semantics for
+every operation. At the same time, speed of operation at high precision
+is a major design goal. The library is built upon and follows the same
+principles as GNU MPFR.")
    (license "LGPLv3+")
    (home-page "http://mpc.multiprecision.org/";)))
-- 
1.7.10.4

Reply via email to