From e897f0436c0259e629f9b688711527b4b95bf2a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Tue, 20 Jul 2021 18:42:23 +0000
Subject: [PATCH] Thunderbird 10.0

---
 helpers/make-thunderbird | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/helpers/make-thunderbird b/helpers/make-thunderbird
index 7e4e3fbf..ff03866d 100644
--- a/helpers/make-thunderbird
+++ b/helpers/make-thunderbird
@@ -120,8 +120,13 @@ sed 's%https://www.mozilla.org/legal/privacy/%https://trisquel.info/legal%' -i .
 sed -i 's|https://www.mozilla.org/thunderbird/legal/privacy/|https://trisquel.info/legal|' comm/mail/components/newmailaccount/content/accountProvisioner.js comm/mail/app/profile/all-thunderbird.js
 # Org branding
 sed 's/com.ubuntu/org.trisquel/' -i debian/config/mozconfig.in
-# Disable DRM support
-echo ac_add_options --disable-eme >> debian/config/mozconfig.in
+# Disable DRM support, armhf has no such option.
+## Add other archs that might present the same lack of disable-eme option
+cat << ARCH >> debian/config/mozconfig.in
+%%if DEB_HOST_ARCH != armhf
+ac_add_options --disable-eme
+%%endif
+ARCH
 ########################################################
 
 sed '/^MOZ_PKG_NAME/s/.*/MOZ_PKG_NAME=icedove/' -i debian/build/config.mk
-- 
GitLab