aboutsummaryrefslogtreecommitdiffstats
path: root/community/emacs/no-git-repo.patch
blob: 040f0e4bd08604d63d09c70f33c52be8cc641b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Avoid calling out to git during dump - hangs on ppc64le.

--- a/lisp/loadup.el	2020-07-27 23:21:49.000000000 +0200
+++ b/lisp/loadup.el	2020-09-16 21:50:13.919715162 +0200
@@ -396,8 +396,8 @@
                                (string-to-number
                                 (substring name (length base) exelen)))
 			     files)))
-      (setq emacs-repository-version (ignore-errors (emacs-repository-get-version))
-            emacs-repository-branch (ignore-errors (emacs-repository-get-branch)))
+      ;; (setq emacs-repository-version (ignore-errors (emacs-repository-get-version))
+      ;;       emacs-repository-branch (ignore-errors (emacs-repository-get-branch)))
       ;; A constant, so we shouldn't change it with `setq'.
       (defconst emacs-build-number
 	(if versions (1+ (apply 'max versions)) 1))))