unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30575] [PATCH] gnu: racket: Update to 6.12.
@ 2018-02-22 16:56 Danny Milosavljevic
  2018-02-22 19:25 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2018-02-22 16:56 UTC (permalink / raw)
  To: 30575

* gnu/packages/scheme.scm (racket): Update to 6.12.
[arguments]<#:phases>[patch-/bin/sh]: Add substitution.
---
 gnu/packages/scheme.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index d5286b312..a90f88fce 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -404,7 +404,7 @@ implementation techniques and as an expository tool.")
 (define-public racket
   (package
     (name "racket")
-    (version "6.11")
+    (version "6.12")
     (source (origin
              (method url-fetch)
              (uri (list (string-append "http://mirror.racket-lang.org/installers/"
@@ -414,7 +414,7 @@ implementation techniques and as an expository tool.")
                          version "/racket-" version "-src.tgz")))
              (sha256
               (base32
-               "1nk7705x24jjlbqqhj8yvbgqkfscxx3m81bry1g56kjxysjmf3sw"))))
+               "0cwcypzjfl9py1s695mhqkiapff7c1w29llsmdj7qgn58wl0apk5"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases
@@ -484,6 +484,9 @@ implementation techniques and as an expository tool.")
            (lambda _
              (substitute* "collects/racket/system.rkt"
                (("/bin/sh") (which "sh")))
+             (substitute* "src/racket/src/schpriv.h"
+               ;; Our gcc version is too old so signbit is not a builtin.
+               (("MZ_IS_NEG_ZERO") "MZ_IS_NEG_ZEROdisable"))
              #t)))
        #:tests? #f                                ; XXX: how to run them?
        ))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#30575] [PATCH] gnu: racket: Update to 6.12.
  2018-02-22 16:56 [bug#30575] [PATCH] gnu: racket: Update to 6.12 Danny Milosavljevic
@ 2018-02-22 19:25 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2018-02-22 19:25 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 30575

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

On Thu, Feb 22, 2018 at 05:56:21PM +0100, Danny Milosavljevic wrote:
> * gnu/packages/scheme.scm (racket): Update to 6.12.
> [arguments]<#:phases>[patch-/bin/sh]: Add substitution.

> @@ -484,6 +484,9 @@ implementation techniques and as an expository tool.")
>             (lambda _
>               (substitute* "collects/racket/system.rkt"
>                 (("/bin/sh") (which "sh")))
> +             (substitute* "src/racket/src/schpriv.h"
> +               ;; Our gcc version is too old so signbit is not a builtin.
> +               (("MZ_IS_NEG_ZERO") "MZ_IS_NEG_ZEROdisable"))
>               #t)))

Would it make sense to just user a newer version of GCC for Racket?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-22 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22 16:56 [bug#30575] [PATCH] gnu: racket: Update to 6.12 Danny Milosavljevic
2018-02-22 19:25 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).