From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id KELZFqcJg2YRGQEAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 01 Jul 2024 19:55:19 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id KELZFqcJg2YRGQEAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 01 Jul 2024 21:55:19 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm1 header.b=ECpbmBIX;
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=cpXahnuS;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1719863719;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=PDo5N7mnlUnxSVHdTaskhOCGlEp8D7TyVGXKWvTL8YY=;
	b=WlC+JAenh3xTTE+8uPW06QX8/pLAMnFIQ9+VISu0T4ERgOEjSvptW1Bie5BqWpJR70QffY
	U0RjgNCyDDw1jGIS+AOwcADXEsfw7EswiKn68mTRJYMAe7NSkOL/eYzCNK3JBie2Y6p/8r
	PsquewIpSCOWCq2B+YBZwxq8DPh0+xQpVw4zH9lktuUboOKH0Cwbh83Mkl8UlcXFJ8ti0N
	5mOcGTEP7GGMFmUgvk3FXv05HJkycPmmFXMoHgGDKm1ptbK1cppY6VrPhxB+nztW9+psmP
	Rmwrg897BuUHWII4GtaiAMYzI+XFsR9T0t5tehbe5I4vHLJwmmwW5ByqpT4DuA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719863719; a=rsa-sha256; cv=none;
	b=TPk8eaZFNsNX0cyrNEJZzLKRNt5kdMjDHGfr8+Vj4LTkqkWJaQiL3X0esju2VALv003Un7
	e9FxBqu/X6NCRSNN5fTMQblGHUPth6r3h8hb2B5Rf9t2XlqO5w2j4IAdGLmbWu+myHbbZa
	Y2EJD/yoet5Vzu3eKVDd23XvIbh38x0QstYAm5i1Z4Mya0YpgIJX0dlK+emJ/ONulCNWGl
	VHqzM0emc0/TA4jJY03uUYNIo0PQj6u+0r7XvAl0j4WE4rOf/Up54Fmk1SUwP1fEW13xQm
	D/czyRXrtTXP6lDZV8xOxvuipOlICuvy4vitTYKUs/nzGvgGJYrSOmj8VC8Ppg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=remworks.net header.s=fm1 header.b=ECpbmBIX;
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=cpXahnuS;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 9344866061
	for <larch@yhetil.org>; Mon,  1 Jul 2024 21:55:18 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1sON7C-0005Yr-Od; Mon, 01 Jul 2024 15:55:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1sON78-0005YV-EX
 for guix-patches@gnu.org; Mon, 01 Jul 2024 15:55:02 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1sON77-0004wA-VF
 for guix-patches@gnu.org; Mon, 01 Jul 2024 15:55:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sON78-0000yJ-K1
 for guix-patches@gnu.org; Mon, 01 Jul 2024 15:55:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#71882] [PATCH] gnu: librewolf: Fix building on aarch64-linux.
Resent-From: Remco van 't Veer <remco@remworks.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Mon, 01 Jul 2024 19:55:02 +0000
Resent-Message-ID: <handler.71882.B.17198636863699@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 71882
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 71882@debbugs.gnu.org
Cc: Remco van 't Veer <remco@remworks.net>
X-Debbugs-Original-To: guix-patches@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.17198636863699
 (code B ref -1); Mon, 01 Jul 2024 19:55:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Jul 2024 19:54:46 +0000
Received: from localhost ([127.0.0.1]:34735 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1sON6r-0000xa-Ak
 for submit@debbugs.gnu.org; Mon, 01 Jul 2024 15:54:46 -0400
Received: from lists.gnu.org ([209.51.188.17]:34164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@fastmail.com>) id 1sON6m-0000xN-0J
 for submit@debbugs.gnu.org; Mon, 01 Jul 2024 15:54:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rwv@fastmail.com>) id 1sON6k-0005X0-Sw
 for guix-patches@gnu.org; Mon, 01 Jul 2024 15:54:39 -0400
Received: from fout6-smtp.messagingengine.com ([103.168.172.149])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rwv@fastmail.com>) id 1sON6e-0004tW-W0
 for guix-patches@gnu.org; Mon, 01 Jul 2024 15:54:38 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailfout.nyi.internal (Postfix) with ESMTP id D28051380277;
 Mon,  1 Jul 2024 15:54:29 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Mon, 01 Jul 2024 15:54:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:message-id:mime-version:reply-to
 :subject:subject:to:to; s=fm1; t=1719863669; x=1719950069; bh=PD
 o5N7mnlUnxSVHdTaskhOCGlEp8D7TyVGXKWvTL8YY=; b=ECpbmBIXwa7+wRSMT1
 TaQ+J5fQ+mwdB9SxbVSw/6T6rKc5Enk4FGpiBEMXfW7VpcW3d7k2MKnjFj7UF0oE
 WyyfDLiEdVCqDHKZsAwPMLJig9TDlz8MrsC7dwB6CkPGJtiwUK9ngJfhNlb1QvP3
 L1WKeH4V/wp5/uQHRzLouCM3TVyiTv46IMmBoVlqKSteC7SQzkHHGLGrY8ry7gFj
 XCpWph27VFq9oPj8MHOBHO2r2dAZondRCQZPk5Mo9L78q3HqDjPf+2pp8m3wABjC
 tyOj2rIP/hJcLNpNHtwjmTTbRerjTjUblNm9r/weoGYPRfQCXmcopM3E/srhHL5c
 Q2MQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:message-id:mime-version:reply-to:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; t=1719863669; x=1719950069; bh=PDo5N7mnlUnxS
 VHdTaskhOCGlEp8D7TyVGXKWvTL8YY=; b=cpXahnuSanHraDEGKH6qhw0ub6GAw
 dECc6TuylksCfyssCC0feF9Lw3cXEsfpE2KmnOj1AvpWr3FTx4aTz7qWpq0pyms0
 esvPdlrpn7Wt5b1n47AzshhZo3+KanlzbVZw2ENVGFvU20knACENMA8C3n3qXJow
 U+m4t102HOWLpbWqsG2/cSYmNbN7LUKFWOV3DXYYZhtxaCVPtuqzFT7FjT5qHDCq
 fS5iqkaCtRq6hbHDw/FQ8pw/gHeoiQLJ/RX3LD2Q9ZWlCYkmpCYKw+Q5Bq3Q6IUi
 RTYuhr5mnssFvX8ZAdI10QkZHOjbt8HElNzjswJVYhMxdu98OQclhuFsA==
X-ME-Sender: <xms:dQmDZomXeMZ4nOvAsrb8XgUz9vdHJCAxtMelbG_M_xu5r2cEOIQORA>
 <xme:dQmDZn23v6E4xgEk7gsJjffNIu6R105B2JetcxKfqwX8AKNClgwRYlloan8eqDnMo
 c_J_kIYy2OlJLBCfw>
X-ME-Received: <xmr:dQmDZmrGF6IkC6VlnvPw3tBdnQOMhHF5Yh9CO-LhmzaGk7tuUSS7feCoWLmAVK7-5LyYOIMa-ZutqstaCWX6a-LeIiiAsQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudefgddugedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffogggtgfesthekre
 dtredtjeenucfhrhhomheptfgvmhgtohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtgho
 sehrvghmfihorhhkshdrnhgvtheqnecuggftrfgrthhtvghrnhephffgiefgtdduuedtke
 ehudejgeejtdekjeefjefggeeghfeuffdtieevgeegledvnecuvehluhhsthgvrhfuihii
 vgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhifvhesfhgrshhtmhgrihhlrdgtoh
 hm
X-ME-Proxy: <xmx:dQmDZkkj_nqvWNDnBeiYeEyFem5HQr5ysdgMlZGACrEhUOPVtmsrHg>
 <xmx:dQmDZm1geMP28rSCjvqCRiG-Gw6q0szof0jtf2wtP4SXctzy4Sp7Xw>
 <xmx:dQmDZruYRUwPulFJ-dqA8usBvgqby5Gbm533hycSlPZmWGyFOPfX7Q>
 <xmx:dQmDZiWb22n4aIH5OqAGeBdKFHEtV6PpgBLK6pclscKmg6bqxSTfTg>
 <xmx:dQmDZkAu9FVD1hbGBsrAWZH5jBq39ZD00S8IkvWWFRyQKpoXBrPCwqiF>
Feedback-ID: if0694934:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 1 Jul 2024 15:54:29 -0400 (EDT)
From: Remco van 't Veer <remco@remworks.net>
Date: Mon,  1 Jul 2024 21:53:22 +0200
Message-ID: <2d141d235ee6eb43d88c6645d7f8f0fb215d6b6a.1719863602.git.remco@remworks.net>
X-Mailer: git-send-email 2.45.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=103.168.172.149; envelope-from=rwv@fastmail.com; 
 helo=fout6-smtp.messagingengine.com
X-Spam_score_int: -26
X-Spam_score: -2.7
X-Spam_bar: --
X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Queue-Id: 9344866061
X-Migadu-Scanner: mx12.migadu.com
X-Migadu-Spam-Score: -4.68
X-Spam-Score: -4.68
X-TUID: FXD/pOP2Y+sZ

* 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@gmx.com>
 ;;; Copyright © 2023 Tomas Volf <wolf@wolfsden.cz>
 ;;; Copyright © 2023 Ian Eure <ian@retrospec.tv>
+;;; Copyright © 2024 Remco van 't Veer <remco@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