summaryrefslogtreecommitdiff
path: root/comms/efax-gtk/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'comms/efax-gtk/patches/patch-ab')
-rw-r--r--comms/efax-gtk/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/efax-gtk/patches/patch-ab b/comms/efax-gtk/patches/patch-ab
new file mode 100644
index 00000000000..32920fcac27
--- /dev/null
+++ b/comms/efax-gtk/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $
+
+--- main.cpp.orig Thu Apr 25 16:28:51 2002
++++ main.cpp Thu Apr 25 16:32:49 2002
+@@ -106,7 +106,7 @@
+
+ if (!prog_config.found_rcfile) {
+
+- rcfile = "/usr/local/etc/";
++ rcfile = "@RCDIR@";
+ rcfile += RC_FILE;
+
+ #ifdef HAVE_IOS_NOCREATE
+@@ -140,7 +140,7 @@
+
+ if (!prog_config.found_rcfile) {
+ return_val = "Can't find or open file /etc/" RC_FILE ",\n"
+- "/usr/local/etc/" RC_FILE;
++ "@RCDIR@/" RC_FILE;
+ if (!prog_config.homedir.empty()) {
+ return_val += " or ";
+ return_val += prog_config.homedir + "/." RC_FILE;