diff options
Diffstat (limited to 'misc/nxtvepg/patches/patch-ae')
-rw-r--r-- | misc/nxtvepg/patches/patch-ae | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/misc/nxtvepg/patches/patch-ae b/misc/nxtvepg/patches/patch-ae index 38940fad493..863f87eff25 100644 --- a/misc/nxtvepg/patches/patch-ae +++ b/misc/nxtvepg/patches/patch-ae @@ -1,17 +1,14 @@ -$NetBSD: patch-ae,v 1.2 2001/04/23 20:37:32 tron Exp $ +$NetBSD: patch-ae,v 1.3 2001/06/09 15:14:26 magick Exp $ ---- epgui/epgmain.c.orig Sat Apr 21 21:44:48 2001 +--- epgui/epgmain.c.orig Sat May 19 16:42:02 2001 +++ epgui/epgmain.c -@@ -104,7 +104,12 @@ +@@ -105,6 +105,9 @@ + static const char *rcfile = "nxtvepg.ini"; static const char *dbdir = "."; #else - static const char *rcfile = "~/.nxtvepgrc"; +#ifdef __NetBSD__ +#include <paths.h> -+static const char *dbdir = _PATH_TMP "nxtvdb"; -+#else - static const char *dbdir = "/usr/tmp/nxtvdb"; +#endif + static const char *rcfile = "~/.nxtvepgrc"; + static const char *dbdir = EPG_DB_DIR; #endif - static int videoCardIndex = -1; - static bool disableAcq = FALSE; |