unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39851: [PATCH] Fix build of mozjs@17
@ 2020-03-01  8:23 Damien Cassou
  2020-03-01 13:44 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Cassou @ 2020-03-01  8:23 UTC (permalink / raw)
  To: 39851

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


mozjs@17 doesn't build. This patch fixes that.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-mozjs-Fix-build.patch --]
[-- Type: text/x-patch, Size: 803 bytes --]

From a81f42fe9b8174d4f4789fe201a050e5f7cab4f6 Mon Sep 17 00:00:00 2001
From: Damien Cassou <damien@cassou.me>
Date: Sun, 1 Mar 2020 09:13:15 +0100
Subject: [PATCH] gnu: mozjs: Fix build

* gnu/packages/gnuzilla.scm (mozjs): Add -fpermissive to fix the build.
---
 gnu/packages/gnuzilla.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index bb2a4d60dc..fea50625b6 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -116,6 +116,7 @@
      `(;; XXX: parallel build fails, lacking:
        ;;   mkdir -p "system_wrapper_js/"
        #:parallel-build? #f
+       #:make-flags '("CXXFLAGS=-fpermissive")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'delete-timedout-test
-- 
2.24.1


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

* bug#39851: [PATCH] Fix build of mozjs@17
  2020-03-01  8:23 bug#39851: [PATCH] Fix build of mozjs@17 Damien Cassou
@ 2020-03-01 13:44 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-03-01 13:44 UTC (permalink / raw)
  To: 39851-done

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

Damien Cassou 写道:
> mozjs@17 doesn't build. This patch fixes that.

Thanks!  Pushed as 0a076f887f039449acab0fed643313425727015f with 
some tweaks to the commit message, mainly to note that this also 
(positively) affects @24.

Kind regards,

T G-R

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

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

end of thread, other threads:[~2020-03-01 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-01  8:23 bug#39851: [PATCH] Fix build of mozjs@17 Damien Cassou
2020-03-01 13:44 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

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).