diff options
Diffstat (limited to 'debian/patches/01-xterm.dpatch')
-rwxr-xr-x | debian/patches/01-xterm.dpatch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/01-xterm.dpatch b/debian/patches/01-xterm.dpatch new file mode 100755 index 0000000..4bc94ab --- /dev/null +++ b/debian/patches/01-xterm.dpatch @@ -0,0 +1,31 @@ +#!/bin/sh -e + +# All lines beginning with `# DP:' are a description of the patch. +# DP: Calls x-terminal-emulator instead of xterm + +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 -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 + +diff -u src/actions.c src/actions.c +--- src/actions.c Sat Dec 16 16:07:05 2000 ++++ src/actions.c Sat Dec 16 18:15:07 2000 +@@ -9,7 +9,7 @@ + + /* Initialization of the key structure */ + rp_action key_actions[] = { {KEY_PREFIX, 0, 0, generate_prefix}, +- {XK_c, -1, "xterm", spawn}, ++ {XK_c, -1, "x-terminal-emulator", spawn}, + {XK_e, -1, "emacs", spawn}, + {XK_p, -1, 0, prev_window}, + {XK_n, -1, 0, next_window}, |