Currently, the Debian packaging for GNU Backgammon carries the following
patch, since Debian's standard browser is supposed to use the
sensible-browser program:

--- a/openurl.c
+++ b/openurl.c
@@ -46,7 +46,8 @@ get_web_browser(void)
 #ifdef __APPLE__
         pch = "open";
 #else
-        pch = "firefox";
+        /* Modified to use sensible-browser -- rra, 2008-02-16 */
+        pch = "sensible-browser";
 #endif
     }
     return pch;

It would be nice to not have to patch this, either by using a C
preprocessor #define that I could add to CFLAGS or (somewhat more
complicated) adding a --with-default-browser option to configure to set
the fallback browser command.

Does that sound interesting?  If so, I could probably put together a
patch.

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>

_______________________________________________
Bug-gnubg mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to