diff options
Diffstat (limited to 'time/xtide/patches/patch-ab')
-rw-r--r-- | time/xtide/patches/patch-ab | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/time/xtide/patches/patch-ab b/time/xtide/patches/patch-ab new file mode 100644 index 00000000000..455eb4117f3 --- /dev/null +++ b/time/xtide/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/03/14 16:39:24 wiz Exp $ + +--- TideContext.cc.orig Fri Mar 23 21:52:40 2001 ++++ TideContext.cc Thu May 31 13:48:53 2001 +@@ -42,12 +42,12 @@ + colors = in_colors; + settings = in_settings; + +- // Get HFILE_PATH from environment or /etc/xtide.conf and create ++ // Get HFILE_PATH from environment or ${PKG_SYSCONFDIR}/xtide.conf and create + // persistent HarmonicsPath + Dstr hfile_path (getenv ("HFILE_PATH")); + if (hfile_path.isNull()) { + FILE *configfile; +- if ((configfile = fopen ("/etc/xtide.conf", "r"))) { ++ if ((configfile = fopen (PKG_SYSCONFDIR "/xtide.conf", "r"))) { + hfile_path.getline (configfile); + fclose (configfile); + } |