summaryrefslogtreecommitdiff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index b2a2e247a2..9688c3624e 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2015 Paul van der Walt <[email protected]>
;;; Copyright © 2015, 2016, 2018 Eric Bavier <[email protected]>
;;; Copyright © 2015 Andreas Enge <[email protected]>
-;;; Copyright © 2015-2023 Efraim Flashner <[email protected]>
+;;; Copyright © 2015-2024 Efraim Flashner <[email protected]>
;;; Copyright © 2016 Christine Lemmer-Webber <[email protected]>
;;; Copyright © 2016 Al McElrath <[email protected]>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari <[email protected]>
@@ -4217,7 +4217,15 @@ related tools to process winmail.dat files.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "1hfbngwdavdhw5ghnadmi0djg2yrr0wrkv15jdd9wcqh9h6mxy8z"))))
+ (base32 "1hfbngwdavdhw5ghnadmi0djg2yrr0wrkv15jdd9wcqh9h6mxy8z"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ ;; Don't try to redefine loff_t.
+ (substitute* "utils.c"
+ (("typedef off_t loff_t;")
+ (string-append "#ifdef __APPLE__\n"
+ "typedef off_t loff_t;\n"
+ "#endif\n")))))))
(build-system gnu-build-system)
(inputs
(list libgit2))