summaryrefslogtreecommitdiff
path: root/development/xemacs/patches/dump-paths.patch
diff options
context:
space:
mode:
authorSean MacLennan <xemacs@seanm.ca>2011-11-12 00:10:23 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-12 12:17:21 -0600
commit61faa8b74d6fe94a393ac57ab8258933a3c08e6f (patch)
tree4a24a978ffc90fd98db51f0bf03a20b48e9a746e /development/xemacs/patches/dump-paths.patch
parent572042ec89f883d3ba9fd49507437eec4d6858c1 (diff)
downloadslackbuilds-61faa8b74d6fe94a393ac57ab8258933a3c08e6f.tar.gz
development/xemacs: Added (XEmacs editor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/xemacs/patches/dump-paths.patch')
-rw-r--r--development/xemacs/patches/dump-paths.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/development/xemacs/patches/dump-paths.patch b/development/xemacs/patches/dump-paths.patch
new file mode 100644
index 0000000000..d5278013d8
--- /dev/null
+++ b/development/xemacs/patches/dump-paths.patch
@@ -0,0 +1,27 @@
+Subject: Re: Compiling XEmacs when same version is already installed
+From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+Date: 31 Jul 2001 20:23:42 +0200
+http://list-archive.xemacs.org/xemacs/200108/msg00001.html
+
+--- xemacs-21.4.4/lisp/dump-paths.el.orig Tue Jul 31 19:47:56 2001
++++ xemacs-21.4.4/lisp/dump-paths.el Tue Jul 31 19:56:14 2001
+@@ -58,10 +58,18 @@
+ late-packages late-package-load-path)
+ 'external-debugging-output)))
+
+- (setq lisp-directory (paths-find-lisp-directory roots))
++ (let ((build-root (expand-file-name ".." invocation-directory)))
++ (setq lisp-directory (expand-file-name "lisp" build-root))
++ (setq module-directory (expand-file-name "modules" build-root)))
++
+ (if debug-paths
+ (princ (format "lisp-directory:\n%S\n" lisp-directory)
+ 'external-debugging-output))
++
++ (if debug-paths
++ (princ (format "module-directory:\n%S\n" module-directory)
++ 'external-debugging-output))
++
+ (if (featurep 'mule)
+ (progn
+ (setq mule-lisp-directory