summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2026-08-27 13:49:34 -0400
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-08-28 16:58:33 +0200
commitaa8346dbbe26817f89457fdb00a0afdf4e61f3e4 (patch)
tree712adbc8f76ac4a7cc60582d68448a6ac9c8297c
parent36d1faa19d0eb8cf735986b61d1b15519d3f6a89 (diff)
gnu: emacs-minimal: Adjust patches.
* gnu/packages/emacs.scm (emacs-minimal):[#:phases]<patch-program-file-names>: Substitute “bin/sh” rather than “sh” in “lisp/man.el”. Additionally patch “dd” in "jka-compr.el". * gnu/packages/patches/emacs-native-comp-fix-filenames.patch: Delete last reference to ‘startup--original-eln-load-path’.
-rw-r--r--gnu/packages/emacs.scm10
-rw-r--r--gnu/packages/patches/emacs-native-comp-fix-filenames.patch10
2 files changed, 16 insertions, 4 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a568077f51a..492c71cc9f0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -341,6 +341,7 @@
341 "lisp/term.el" 341 "lisp/term.el"
342 "lisp/htmlfontify.el" 342 "lisp/htmlfontify.el"
343 "lisp/mail/feedmail.el" 343 "lisp/mail/feedmail.el"
344 "lisp/man.el"
344 "lisp/obsolete/pgg-pgp.el" 345 "lisp/obsolete/pgg-pgp.el"
345 "lisp/obsolete/pgg-pgp5.el" 346 "lisp/obsolete/pgg-pgp5.el"
346 "lisp/org/ob-eval.el" 347 "lisp/org/ob-eval.el"
@@ -356,11 +357,12 @@
356 "lisp/mail/blessmail.el") 357 "lisp/mail/blessmail.el")
357 (("\"#!/bin/sh\\\n\"") 358 (("\"#!/bin/sh\\\n\"")
358 (format #f "\"#!~a~%\"" (search-input-file inputs "bin/sh")))) 359 (format #f "\"#!~a~%\"" (search-input-file inputs "bin/sh"))))
359 (substitute* '("lisp/jka-compr.el" 360 (substitute* "lisp/jka-compr.el"
360 "lisp/man.el")
361 (("\"sh\"") 361 (("\"sh\"")
362 (format #f "~s" (search-input-file inputs "bin/sh")))) 362 (format #f "~s" (search-input-file inputs "bin/sh")))
363 363 ;; Substitute "dd" command.
364 (("\"/bin/dd\"")
365 (format #f "~s" (search-input-file inputs "bin/dd"))))
364 ;; Substitute "awk" command. 366 ;; Substitute "awk" command.
365 (substitute* '("lisp/gnus/nnspool.el" 367 (substitute* '("lisp/gnus/nnspool.el"
366 "lisp/org/ob-awk.el" 368 "lisp/org/ob-awk.el"
diff --git a/gnu/packages/patches/emacs-native-comp-fix-filenames.patch b/gnu/packages/patches/emacs-native-comp-fix-filenames.patch
index ae16fc260c5..c5f25037cda 100644
--- a/gnu/packages/patches/emacs-native-comp-fix-filenames.patch
+++ b/gnu/packages/patches/emacs-native-comp-fix-filenames.patch
@@ -235,6 +235,16 @@ Index: emacs/lisp/startup.el
235 (defun startup--rescale-elt-match-p (font-pattern font-object) 235 (defun startup--rescale-elt-match-p (font-pattern font-object)
236 "Test whether FONT-OBJECT matches an element of `face-font-rescale-alist'. 236 "Test whether FONT-OBJECT matches an element of `face-font-rescale-alist'.
237 FONT-OBJECT is a font-object that specifies a font to test. 237 FONT-OBJECT is a font-object that specifies a font to test.
238@@ -709,8 +709,6 @@ normal-top-level
239 (expand-file-name
240 (decode-coding-string dir coding t)))
241- npath)))
242- (setq startup--original-eln-load-path
243- (copy-sequence native-comp-eln-load-path)))
244+ npath))))
245 (dolist (filesym '(data-directory doc-directory exec-directory
246 installation-directory
247 invocation-directory invocation-name
238@@ -771,9 +756,6 @@ It is the default value of the variable 248@@ -771,9 +756,6 @@ It is the default value of the variable
239 (unwind-protect 249 (unwind-protect
240 (command-line) 250 (command-line)