aboutsummaryrefslogtreecommitdiff
path: root/net/yaph/files/patch-yaph::init.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/yaph/files/patch-yaph::init.c')
-rw-r--r--net/yaph/files/patch-yaph::init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/yaph/files/patch-yaph::init.c b/net/yaph/files/patch-yaph::init.c
new file mode 100644
index 000000000000..235005979bab
--- /dev/null
+++ b/net/yaph/files/patch-yaph::init.c
@@ -0,0 +1,11 @@
+--- yaph/init.c.orig Sat Jun 14 14:52:31 2003
++++ yaph/init.c Sat Jun 14 14:52:41 2003
+@@ -127,7 +127,7 @@
+ FILE *cnf=NULL;
+ char buff[1024];
+ if(!(cnf=fopen("./yaph.conf","rb")))
+- if(!(cnf=fopen("/etc/yaph.conf","rb")))
++ if(!(cnf=fopen(PREFIX "/etc/yaph.conf","rb")))
+ goto no_file;
+ while(fgets(buff,sizeof(buff),cnf))
+ {