1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/astro/xtide/files/patch-wvsrtv.cc
Martin Wilke 0f221d1d14 - Update to 2.9.1
PR:		110811
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-03-26 11:25:55 +00:00

12 lines
439 B
C++

--- wvsrtv.cc.orig Thu Jan 4 11:35:43 2007
+++ wvsrtv.cc Fri Mar 23 02:32:59 2007
@@ -651,7 +651,7 @@
}
if (dir[0] == '\0') {
FILE *configfile;
- if ((configfile = fopen ("/etc/xtide.conf", "r"))) {
+ if ((configfile = fopen ("%%PREFIX%%/etc/xtide.conf", "r"))) {
if (!fgets (dir, 512, configfile)) {
fclose (configfile);
return 0;