summaryrefslogtreecommitdiff
path: root/debian/patches/deb_docviewer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/deb_docviewer.patch')
-rw-r--r--debian/patches/deb_docviewer.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/deb_docviewer.patch b/debian/patches/deb_docviewer.patch
new file mode 100644
index 0000000..ad6e9cb
--- /dev/null
+++ b/debian/patches/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.996/src/xsane.h
+===================================================================
+--- xsane-0.996.orig/src/xsane.h 2010-03-13 20:42:56.787742668 +0100
++++ xsane-0.996/src/xsane.h 2010-03-13 20:42:58.391742649 +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
+