From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53506) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHSPZ-0001lo-HO for guix-patches@gnu.org; Thu, 26 Mar 2020 09:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHSPX-0001Ie-BY for guix-patches@gnu.org; Thu, 26 Mar 2020 09:19:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHSPW-0001IA-3d for guix-patches@gnu.org; Thu, 26 Mar 2020 09:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHSPW-0003Ge-0j for guix-patches@gnu.org; Thu, 26 Mar 2020 09:19:02 -0400 Subject: [bug#39412] [PATCH v2 2/3] gnu: emacs-telega: Build with emacs-wide-int on 32-bit systems. Resent-Message-ID: From: Diego Nicola Barbato Date: Thu, 26 Mar 2020 14:17:52 +0100 Message-Id: <20200326131752.26638-1-dnbarbato@posteo.de> In-Reply-To: <87eetfcl4r.fsf@GlaDOS.home> References: <87eetfcl4r.fsf@GlaDOS.home> 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 7b67cc37ae..401dbdec2c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -20671,7 +20671,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.26.0