~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to debian/patches/xterm.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## xterm.dpatch by Francesco Paolo Lovergine <frankie@debian.org>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: prefer to let alternatives chose the xterm used
6
 
 
7
 
@DPATCH@
8
 
diff -urNad grass-preview-6.3.0~/lib/init/grass-xterm-wrapper grass-preview-6.3.0/lib/init/grass-xterm-wrapper
9
 
--- grass-preview-6.3.0~/lib/init/grass-xterm-wrapper   2008-04-12 01:26:58.000000000 +0200
10
 
+++ grass-preview-6.3.0/lib/init/grass-xterm-wrapper    2008-04-21 14:09:45.000000000 +0200
11
 
@@ -3,7 +3,7 @@
12
 
 
13
 
 if [ -z "$GRASS_XTERM" ] ; then
14
 
    # find a working xterm or xterm compatible executable
15
 
-   TERM_TRY="xterm rxvt x-terminal-emulator"
16
 
+   TERM_TRY="x-terminal-emulator rxvt xterm"
17
 
    for TERM_PROG in $TERM_TRY ; do
18
 
       if [ -x "`which $TERM_PROG`" ] ; then
19
 
          GRASS_XTERM="$TERM_PROG"