GNU bug report logs - #71882
[PATCH] gnu: librewolf: Fix building on aarch64-linux.

Previous Next

Package: guix-patches;

Reported by: Remco van 't Veer <remco <at> remworks.net>

Date: Mon, 1 Jul 2024 19:55:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Remco van 't Veer <remco <at> remworks.net>
To: guix-patches <at> gnu.org
Cc: Remco van 't Veer <remco <at> remworks.net>
Subject: [PATCH] gnu: librewolf: Fix building on aarch64-linux.
Date: Mon,  1 Jul 2024 21:53:22 +0200
* gnu/packages/librewolf.scm (librewolf)[arguments]: On non-x86-linux systems the "--disable-eme" switch is not available because EME is not available.

Change-Id: I0f397570249b1bc6a0182d2744a8d3c459c1bafa
---
 gnu/packages/librewolf.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index c84bcaf3ce..892f12565d 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2022 Pierre Langlois <pierre.langlois <at> gmx.com>
 ;;; Copyright © 2023 Tomas Volf <wolf <at> wolfsden.cz>
 ;;; Copyright © 2023 Ian Eure <ian <at> retrospec.tv>
+;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -261,7 +262,10 @@ (define-public librewolf
                               "--disable-crashreporter"
                               "--allow-addon-sideload"
                               "--with-unsigned-addon-scopes=app,system"
-                              "--disable-eme"
+
+                              ;; switch only available on x86 and EME not
+                              ;; supported on other targets
+                              ,@(if #$(target-x86?) '("--disable-eme") '())
 
                               ;; Build details
                               "--disable-debug"

base-commit: ba6460900f052759fe82e4ceb606d25e19f02884
-- 
2.45.1





This bug report was last modified 1 year and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.