summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2010-01-17 23:36:38 +0000
committerDawid Węgliński <cla@gentoo.org>2010-01-17 23:36:38 +0000
commitf3391a9f7757a41f3225976fcd9791e31c0b2990 (patch)
tree568858d6ef4fccf2800a9d9c925c5b29bf25f331 /app-misc/gtypist/files
parentVersion bump. (diff)
downloadhistorical-f3391a9f7757a41f3225976fcd9791e31c0b2990.tar.gz
historical-f3391a9f7757a41f3225976fcd9791e31c0b2990.tar.bz2
historical-f3391a9f7757a41f3225976fcd9791e31c0b2990.zip
Version bump (bug #300567)
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'app-misc/gtypist/files')
-rw-r--r--app-misc/gtypist/files/gtypist-2.8-xemacs-compat.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-misc/gtypist/files/gtypist-2.8-xemacs-compat.patch b/app-misc/gtypist/files/gtypist-2.8-xemacs-compat.patch
new file mode 100644
index 000000000000..6b4af23392ea
--- /dev/null
+++ b/app-misc/gtypist/files/gtypist-2.8-xemacs-compat.patch
@@ -0,0 +1,18 @@
+--- gtypist-2.8-orig/tools/gtypist-mode.el 2003-09-28 23:35:22.000000000 +0200
++++ gtypist-2.8/tools/gtypist-mode.el 2007-04-21 14:49:16.000000000 +0200
+@@ -95,7 +95,14 @@
+
+ (require 'font-lock)
+ (require 'thingatpt)
+-(require 'executable) ;; executable-find
++
++(eval-and-compile
++ (cond
++ ((fboundp 'executable-find))
++ ((fboundp 'locate-file)
++ (defun executable-find (command)
++ (locate-file command exec-path nil 'executable)))
++ (t (require 'executable))))
+
+ (defvar gtypist-mode-syntax-table nil "Syntax-table for gtypist-mode.")
+ (unless gtypist-mode-syntax-table