freebsd-ports/chinese/zhcon/files/patch-src::zhcon.cpp
Vanilla I. Shu a13b9c02e9 1: Upgrade to 0.2.1.
2: Fix build on -current.
3: Fix hangs on -current.

PR:		ports/45797
Submitted by:	maintainer
Approved by:	kris
2002-11-28 02:25:03 +00:00

11 lines
393 B
C++

--- src/zhcon.cpp.orig Tue Nov 26 01:35:04 2002
+++ src/zhcon.cpp Tue Nov 26 01:35:25 2002
@@ -131,7 +131,7 @@
string cfgfile = getenv("HOME");
cfgfile += "/.zhconrc";
if (access(cfgfile.c_str(), R_OK) != 0)
- cfgfile = "/etc/zhcon.conf";
+ cfgfile = PREFIX"/etc/zhcon.conf";
//for debug,a pause enable us to attach zhcon's pid in gdb
//char c;cin>>c;