components/emacs/patches/find.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 28 Jan 2016 07:08:16 -0800
changeset 5357 76a31ece4c74
parent 4791 fb9a6b5ef98f
permissions -rw-r--r--
22611402 irssi should be 64-bit

# Ensure that emacs uses GNU find. See components/emacs/README.
#    16171813 emacs rgrep assumes gnu find in path; fails using
#            GNU-specific options
#
--- emacs-24.5.orig/lisp/progmodes/grep.el	2015-04-02 01:23:06.000000000 -0600
+++ emacs-24.5/lisp/progmodes/grep.el	2015-06-26 15:15:32.310280505 -0600
@@ -422,7 +422,8 @@
 This variable's value takes effect when `grep-compute-defaults' is called.")
 
 ;;;###autoload
-(defvar find-program (purecopy "find")
+;;Change from find to GNU find for Solaris, as emacs uses GNU-specific options
+(defvar find-program (purecopy "/usr/gnu/bin/find")
   "The default find program.
 This is used by commands like `grep-find-command', `find-dired'
 and others.")