gnu: emacs-telega: Build with emacs-wide-int on 32-bit systems.

Fixes <https://bugs.gnu.org/39406>.
Reported by <lmedeiros@riseup.net>.

* 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
64-bit wide ints.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Diego Nicola Barbato 2019-12-29 01:03:38 +01:00 committed by Efraim Flashner
parent abbca232ca
commit a663b7040c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -21467,7 +21467,12 @@ (define-public emacs-telega
(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