diff options
author | itojun <itojun@pkgsrc.org> | 2000-08-11 05:42:15 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2000-08-11 05:42:15 +0000 |
commit | f602807cc53cb3d30a54ba5ef99433724c58e9ce (patch) | |
tree | 1b5a5f0458b62b628b494772b33b706bc7df86d7 /net/trafshow/patches | |
parent | 368af1e9173f25f45822068759ca69d7398327b5 (diff) | |
download | pkgsrc-f602807cc53cb3d30a54ba5ef99433724c58e9ce.tar.gz |
adapt to netbsd build. use /etc/trafshow, not ${PREFIX}/etc/trafshow for
systemwide config file.
Diffstat (limited to 'net/trafshow/patches')
-rw-r--r-- | net/trafshow/patches/patch-ac | 11 | ||||
-rw-r--r-- | net/trafshow/patches/patch-af | 2 |
2 files changed, 2 insertions, 11 deletions
diff --git a/net/trafshow/patches/patch-ac b/net/trafshow/patches/patch-ac deleted file mode 100644 index c15ab541f4d..00000000000 --- a/net/trafshow/patches/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- 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; - } diff --git a/net/trafshow/patches/patch-af b/net/trafshow/patches/patch-af index dba73df91ae..c1fc30e375f 100644 --- a/net/trafshow/patches/patch-af +++ b/net/trafshow/patches/patch-af @@ -1,3 +1,5 @@ +$NetBSD: patch-af,v 1.2 2000/08/11 05:42:18 itojun Exp $ + --- Makefile.in.orig Mon Aug 24 13:54:16 1998 +++ Makefile.in Tue May 2 00:51:47 2000 @@ -28,8 +28,8 @@ |