diff options
author | Diego Nicola Barbato <dnbarbato@posteo.de> | 2019-12-29 01:03:38 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-04-28 20:44:30 +0300 |
commit | a663b7040c3c7ed12d4f673c4ac090ad8d9b8e20 (patch) | |
tree | 543056ca4d774ff3f9679c9bb3328d7901283824 | |
parent | abbca232ca92678a46ab1fbf5f2f376bf6a4a7e2 (diff) | |
download | patches-a663b7040c3c7ed12d4f673c4ac090ad8d9b8e20.tar patches-a663b7040c3c7ed12d4f673c4ac090ad8d9b8e20.tar.gz |
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>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3bf9ffa655..5d2aaa4061 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21467,7 +21467,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 |