wireshark/debian/patches/03_preferences.dpatch

20 lines
850 B
Plaintext

#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_preferences.dpatch by <fpeters@debian.org>
## Updated from original Debian version to match the 1.9 trunk.
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: use Debian sensible-browser
@DPATCH@
--- a/epan/prefs.c (revision 47051)
+++ b/epan/prefs.c (working copy)
@@ -2644,7 +2644,7 @@
prefs.gui_find_wrap = TRUE;
prefs.gui_use_pref_save = FALSE;
/* This can be g_freed, so it must be g_mallocated. */
- prefs.gui_webbrowser = g_strdup(HTML_VIEWER " %s");
+ prefs.gui_webbrowser = g_strdup("sensible-browser %s");
/* This can be g_freed, so it must be g_mallocated. */
prefs.gui_window_title = g_strdup("");
prefs.gui_start_title = "The World's Most Popular Network Protocol Analyzer";