Subject: [bug#64523] [PATCH] gnu: org-mode: Fix build for development version.

From: Morgan Smith <[email-masked]>
Date: Fri, 7 Jul 2023 16:21:50 -0400

This fixes "guix build emacs-org --with-branch=emacs-org=main".  Or at least
it will once they fix the recently broken indentation test.

* gnu/packages/emacs-xyz.scm (org-mode) [phases] <fix-tests>: Make all files
in examples directory writable instead of being very specific.
---

I'm sneakng in a copyright fix for me here as well.  Hope that's ok.  I did
non-trivial changes to this file in 2022 and 2023.

 gnu/packages/emacs-xyz.scm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dbe736e56e..fc1a6ec8de 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -76,7 +76,7 @@
 ;;; Copyright © 2020 Marcin Karpezo <[email-masked]>
 ;;; Copyright © 2020, 2022 Fredrik Salomonsson <[email-masked]>
 ;;; Copyright © 2020 Eric Bavier <[email-masked]>
-;;; Copyright © 2020, 2021 Morgan Smith <[email-masked]>
+;;; Copyright © 2020-2023 Morgan Smith <[email-masked]>
 ;;; Copyright © 2020 Peng Mei Yu <[email-masked]>
 ;;; Copyright © 2020, 2021, 2022 Niklas Eklund <[email-masked]>
 ;;; Copyright © 2020 Marco Grassi <[email-masked]>
@@ -15728,11 +15728,8 @@ (define-public emacs-org
               ;; These files are modified during testing.
               (with-directory-excursion "testing/examples"
                 (for-each make-file-writable
-                          '("babel.org"
-                            "ob-awk-test.org"
-                            "ob-sed-test.org"
-                            "ob-shell-test.org"))
+                          (find-files "."))
                 ;; Specify where sh executable is.
                 (let ((sh (search-input-file inputs "/bin/sh")))
                   (substitute* "babel.org"

--
2.40.1