mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
5b582eae63
- Add WWW: line into pkg/DESCR PR: 19345 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
12 lines
404 B
Plaintext
12 lines
404 B
Plaintext
--- 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;
|
|
}
|