summaryrefslogtreecommitdiff
path: root/games/xbill/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-06-14 17:23:24 +0000
committerminskim <minskim@pkgsrc.org>2005-06-14 17:23:24 +0000
commiteedc406580077df20a8fba42a4422746d2976ec2 (patch)
treed70c42a90a1c489b9aa18539bbad4dc5405656b5 /games/xbill/patches
parentc3b35f7162496d6a8339d70df6f10e85434429bb (diff)
downloadpkgsrc-eedc406580077df20a8fba42a4422746d2976ec2.tar.gz
Use VARBASE instead of hardcoding /var.
Diffstat (limited to 'games/xbill/patches')
-rw-r--r--games/xbill/patches/patch-ab8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/xbill/patches/patch-ab b/games/xbill/patches/patch-ab
index af64667e5c8..c456422bda9 100644
--- a/games/xbill/patches/patch-ab
+++ b/games/xbill/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 1998/09/30 08:51:30 tron Exp $
+$NetBSD: patch-ab,v 1.3 2005/06/14 17:23:24 minskim Exp $
---- Scorelist.cc.orig Mon Sep 14 13:13:16 1998
-+++ Scorelist.cc Mon Sep 14 13:14:21 1998
+--- Scorelist.cc.orig 1997-01-23 10:22:50.000000000 -0600
++++ Scorelist.cc
@@ -1,9 +1,9 @@
#include "objects.h"
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.2 1998/09/30 08:51:30 tron Exp $
- return fopen (file, mode);
+/* char file[255];
+ sprintf (file, "%sscores", XBILL_HOME);*/
-+ return fopen ("/var/games/xbill.scores", mode);
++ return fopen (VARBASE "/games/xbill.scores", mode);
}
void Scorelist::read() {