unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Damien Cassou <damien@cassou.me>
To: 39851@debbugs.gnu.org
Subject: bug#39851: [PATCH] Fix build of mozjs@17
Date: Sun, 01 Mar 2020 09:23:40 +0100	[thread overview]
Message-ID: <877e0432lv.fsf@cassou.me> (raw)

[-- 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


             reply	other threads:[~2020-03-01  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-01  8:23 Damien Cassou [this message]
2020-03-01 13:44 ` bug#39851: [PATCH] Fix build of mozjs@17 Tobias Geerinckx-Rice via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877e0432lv.fsf@cassou.me \
    --to=damien@cassou.me \
    --cc=39851@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).