$OpenBSD: patch-src_defaults_preferences_prefs_js,v 1.3 2018/10/03 14:57:09 sthen Exp $

Set all path-related prefs to minimize patching of tl-util.jsm/tl-process.js
Index: src/defaults/preferences/prefs.js
--- src/defaults/preferences/prefs.js.orig
+++ src/defaults/preferences/prefs.js
@@ -36,14 +36,17 @@ pref("extensions.torlauncher.socks_port_flags", "IPv6T
 // The tor_path is relative to the application directory. On Linux and
 // Windows this is the Browser/ directory that contains the firefox
 // executables, and on Mac OS it is the TorBrowser.app directory.
-pref("extensions.torlauncher.tor_path", "");
+pref("extensions.torlauncher.tor_path", "/usr/local/bin/tor");
+pref("extensions.torlauncher.torrc-defaults_path", "/usr/local/share/tor-browser/torrc-defaults");
+pref("extensions.torlauncher.geoip_path", "/usr/local/share/tor/geoip");
+pref("extensions.torlauncher.geoip6_path", "/usr/local/share/tor/geoip6");
 
 // The torrc_path and tordatadir_path are relative to the data directory,
 // which is TorBrowser-Data/ if it exists as a sibling of the application
 // directory. If TorBrowser-Data/ does not exist, these paths are relative
 // to the TorBrowser/ directory within the application directory.
-pref("extensions.torlauncher.torrc_path", "");
-pref("extensions.torlauncher.tordatadir_path", "");
+pref("extensions.torlauncher.torrc_path", "torrc");
+pref("extensions.torlauncher.tordatadir_path", "tor_data");
 
 // BridgeDB-related preferences (used for Moat).
 pref("extensions.torlauncher.bridgedb_front", "ajax.aspnetcdn.com");
