summaryrefslogtreecommitdiff
path: root/net/trafshow/patches
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-08-11 05:34:08 +0000
committeritojun <itojun@pkgsrc.org>2000-08-11 05:34:08 +0000
commiteea04150c441524c0aaccdd6a231c28f3f26bde3 (patch)
tree97f170273e7d833f316ca312f7a45c0f065529c7 /net/trafshow/patches
parent6120509ac39564542dcac62007296a4f6cc4aa3b (diff)
downloadpkgsrc-eea04150c441524c0aaccdd6a231c28f3f26bde3.tar.gz
trafshow 3.1
Diffstat (limited to 'net/trafshow/patches')
-rw-r--r--net/trafshow/patches/patch-ac11
-rw-r--r--net/trafshow/patches/patch-af13
2 files changed, 24 insertions, 0 deletions
diff --git a/net/trafshow/patches/patch-ac b/net/trafshow/patches/patch-ac
new file mode 100644
index 00000000000..c15ab541f4d
--- /dev/null
+++ b/net/trafshow/patches/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;
+ }
diff --git a/net/trafshow/patches/patch-af b/net/trafshow/patches/patch-af
new file mode 100644
index 00000000000..dba73df91ae
--- /dev/null
+++ b/net/trafshow/patches/patch-af
@@ -0,0 +1,13 @@
+--- Makefile.in.orig Mon Aug 24 13:54:16 1998
++++ Makefile.in Tue May 2 00:51:47 2000
+@@ -28,8 +28,8 @@
+
+ PROG = trafshow
+ CC = @CC@
+-CCOPT = @V_CCOPT@
+-INCLS = -I. @V_INCLS@
++CCOPT = @CFLAGS@
++INCLS = -I. @CPPFLAGS@
+ DEFS = @DEFS@
+
+ CFLAGS = $(CCOPT) $(DEFS) $(INCLS)