From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55255) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyurL-0003eU-D0 for guix-patches@gnu.org; Tue, 04 Feb 2020 04:51:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyurG-0004wY-GX for guix-patches@gnu.org; Tue, 04 Feb 2020 04:51:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyurG-0004vW-A7 for guix-patches@gnu.org; Tue, 04 Feb 2020 04:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyurG-0000E8-6c for guix-patches@gnu.org; Tue, 04 Feb 2020 04:51:02 -0500 Subject: [bug#39412] [PATCH 2/2] gnu: emacs-telega: Build with emacs-wide-int on 32-bit systems. Resent-Message-ID: From: Diego Nicola Barbato Date: Tue, 4 Feb 2020 10:49:55 +0100 Message-Id: <20200204094955.18897-1-dnbarbato@posteo.de> In-Reply-To: <20200204094351.18671-1-dnbarbato@posteo.de> References: <20200204094351.18671-1-dnbarbato@posteo.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39412@debbugs.gnu.org Cc: Diego Nicola Barbato Fixes . Reported by . * gnu/packages/emacs-xyz.scm (emacs-telega)[native-inputs]: Replace emacs with emacs-wide-int on 32-bit systems. This is needed because Telega requires 62-bit wide ints. --- gnu/packages/emacs-xyz.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9936127a18..f4c58e94b2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -20613,7 +20613,12 @@ fish-completion. It can be used in both Eshell and M-x shell.") (native-inputs `(("tdlib" ,tdlib) ("libtgvoip" ,libtgvoip) ; VoIP support. - ("emacs" ,emacs) + ;; Use Emacs with wide ints on 32-bit architectures. + ("emacs" ,(match (%current-system) + ((or "i686-linux" "armhf-linux") + emacs-wide-int) + (_ + emacs))) ("python" ,python))) (synopsis "GNU Emacs client for the Telegram messenger") (description -- 2.25.0