#! /bin/sh -e
## 01_a2ps_el_path_fix.dpatch by Masayuki Hatta <mhatta@debian.org>
##
## All lines beginning with \`## DP:' are a description of the patch.
## DP: Fixes path to a2ps binary in a2ps.el
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -f --no-backup-if-mismatch --dry-run -p0 < $0 && patch -f --no-backup-if-mismatch -p0 < $0
;;
-unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
--- contrib/emacs/a2ps.el.orig 2003-04-06 16:37:35.000000000 +0900
+++ contrib/emacs/a2ps.el 2003-04-06 16:37:50.000000000 +0900
@@ -44,7 +44,7 @@
;; a2ps-compile-regexp
;;path to the a2ps program
-(defvar a2ps-program "/usr/local/bin/a2ps")
+(defvar a2ps-program "/usr/bin/a2ps")
;;thank god for make-regexp.el!
(defvar a2ps-font-lock-keywords