summaryrefslogtreecommitdiff
path: root/debian/patches/0100-deb_docviewer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0100-deb_docviewer.patch')
-rw-r--r--debian/patches/0100-deb_docviewer.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/0100-deb_docviewer.patch b/debian/patches/0100-deb_docviewer.patch
new file mode 100644
index 0000000..8e5bc0c
--- /dev/null
+++ b/debian/patches/0100-deb_docviewer.patch
@@ -0,0 +1,18 @@
+Description: Use sensible-browser
+ Change default browser to /usr/bin/sensible-browser.
+Author: Julien BLACHE <jblache@debian.org>
+Forwarded: not-needed
+
+Index: xsane-0.998/src/xsane.h
+===================================================================
+--- xsane-0.998.orig/src/xsane.h 2011-02-04 19:50:22.945016002 +0100
++++ xsane-0.998/src/xsane.h 2011-02-04 19:50:32.653016002 +0100
+@@ -251,7 +251,7 @@
+ # elif defined(HAVE_OS2_H)
+ # define DEFAULT_BROWSER "netscape"
+ # else
+-# define DEFAULT_BROWSER "netscape"
++# define DEFAULT_BROWSER "/usr/bin/sensible-browser"
+ # endif
+ #endif
+