8fbf011a61
x11 version (use xdg-open instead + add run dep), sync PLIST and use a nicer DESCR from the installed docs.
22 lines
863 B
Plaintext
22 lines
863 B
Plaintext
$OpenBSD: patch-src_dopewars_c,v 1.4 2012/12/23 14:23:13 sthen Exp $
|
|
--- src/dopewars.c.orig Fri Dec 30 21:26:13 2005
|
|
+++ src/dopewars.c Sun Dec 23 14:14:41 2012
|
|
@@ -2356,7 +2356,7 @@ gchar *GetDocRoot(void)
|
|
path = g_strdup_printf("file://%s\\", bindir);
|
|
g_free(bindir);
|
|
#else
|
|
- path = g_strdup_printf("file://%s/doc/%s-%s/", DPDATADIR, PACKAGE, VERSION);
|
|
+ path = g_strdup_printf("file://%s/doc/%s/", DPDATADIR, PACKAGE);
|
|
#endif
|
|
return path;
|
|
}
|
|
@@ -2443,7 +2443,7 @@ static void SetupParameters(GSList *extraconfigs, gboo
|
|
AssignName(&ServerName, "localhost");
|
|
AssignName(&ServerMOTD, "");
|
|
AssignName(&BindAddress, "");
|
|
- AssignName(&WebBrowser, "/usr/bin/mozilla");
|
|
+ AssignName(&WebBrowser, "/usr/local/bin/xdg-open");
|
|
|
|
AssignName(&Sounds.FightHit, SNDPATH"colt.wav");
|
|
AssignName(&Sounds.EnemyBitchKilled, SNDPATH"shotdown.wav");
|