Subject: [bug#73578] [PATCH] gnu: aerc: Add a patch for bug with signed messages.

From: [email-masked]
Date: Tue, 1 Oct 2024 10:52:24 +0200

From: Ashish SHUKLA <[email-masked]>

* gnu/packages/mail.scm (aerc): (source)[origin]<patches>: Add patch.

Change-Id: I9e080662854b93022255f53e9f6eff11a2c934a3
---
 gnu/packages/mail.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index e4316831d0..ead8740627 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -5071,7 +5071,18 @@ (define-public aerc
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0y34cv2vcwhr0vbd1ax2hv9rmv79dp9i02y2xqyr23krfb5bp197"))))
+                "0y34cv2vcwhr0vbd1ax2hv9rmv79dp9i02y2xqyr23krfb5bp197"))
+              (patches
+                (list
+                  ;; patch from upstream to fix encoding problem with sending
+                  ;; gpg-signed messages
+                  ;; see https://todo.sr.ht/~rjarry/aerc/79
+                  (origin
+                    (method url-fetch)
+                    (uri "https://git.sr.ht/~rjarry/aerc/commit/7346d20.patch")
+                    (file-name "aerc-fix-gpg-signed-message-encoding.patch")
+                    (sha256 (base32
+                              "14avr323sr9qipf9d7npqwrzq37i9946z9m6jdkzi8n9rs6zwzq9")))))))
     (build-system go-build-system)
     (arguments
      (list #:import-path "git.sr.ht/~rjarry/aerc"

base-commit: 7e63a35ff265f5cb6efa8bbe0bbf62bb9c102cf0
-- 
2.46.1