Subject: bug#39851: closed (Re: bug#39851: [PATCH] Fix build of mozjs@17)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 01 Mar 2020 13:44:02 +0000

Your bug report

#39851: [PATCH] Fix build of mozjs@17

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39851: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39851
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#39851: [PATCH] Fix build of mozjs@17
From: Tobias Geerinckx-Rice <[email-masked]>
To: [email-masked]
Date: Sun, 01 Mar 2020 14:44:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: [PATCH] Fix build of mozjs@17
From: Damien Cassou <[email-masked]>
To: [email-masked]
Date: Sun, 01 Mar 2020 09:23:40 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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
>From a81f42fe9b8174d4f4789fe201a050e5f7cab4f6 Mon Sep 17 00:00:00 2001
From: Damien Cassou <[email-masked]>
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