Patch attached.

Unfortunately, I could not test it yet, since guix-package starts by 
building path(s) `/nix/store/9syafc8xvscaywjldyszzgkc8pljwpj6-gcc-cross-
boot0-4.7.2'

although gcc-4.7.2 (without "coss-boot") is already there. How come?
The previous mpc release built without problem without re-downloading gcc.

Actually, the same holds for the unmodified mpfr - after changing the
definition of mpc in multiprecision.scm, installing mpfr also starts by
redownloading gcc.

Is it related to the dependency of gcc on mpfr and mpc?

Andreas
--- guix.alt/distro/packages/multiprecision.scm	2012-12-11 21:53:49.000000000 +0100
+++ guix/distro/packages/multiprecision.scm	2012-12-11 22:49:42.000000000 +0100
@@ -95,14 +95,13 @@
 (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 @@
 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/";)))

Reply via email to