aboutsummaryrefslogtreecommitdiff
path: root/net/trafshow3/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/trafshow3/files/patch-ac')
-rw-r--r--net/trafshow3/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/trafshow3/files/patch-ac b/net/trafshow3/files/patch-ac
new file mode 100644
index 000000000000..c15ab541f4d8
--- /dev/null
+++ b/net/trafshow3/files/patch-ac
@@ -0,0 +1,11 @@
+--- color.c.orig Mon Jan 24 10:59:01 2000
++++ color.c Mon Jan 24 10:57:36 2000
+@@ -336,7 +336,7 @@
+ error(1, "init_color_mask: getpwuid");
+ (void) sprintf(buf, "%s/.%s", pw->pw_dir, program_name);
+ if ((fp = fopen(buf, "r")) == NULL) {
+- (void) strcpy(buf, "/etc/");
++ (void) strcpy(buf, "%%PREFIX%%/etc/");
+ (void) strcat(buf, program_name);
+ if ((fp = fopen(buf, "r")) == NULL) return 0;
+ }