From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../gtypist/files/gtypist-2.8.3-xemacs-compat.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch (limited to 'app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch') diff --git a/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch new file mode 100644 index 000000000000..166a82c48263 --- /dev/null +++ b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch @@ -0,0 +1,18 @@ +--- gtypist-2.8.3-orig/tools/gtypist-mode.el 2003-09-28 23:35:22.000000000 +0200 ++++ gtypist-2.8.3/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 -- cgit v1.2.3