diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-14 17:23:24 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-14 17:23:24 +0000 |
commit | eedc406580077df20a8fba42a4422746d2976ec2 (patch) | |
tree | d70c42a90a1c489b9aa18539bbad4dc5405656b5 /games/xbill/patches | |
parent | c3b35f7162496d6a8339d70df6f10e85434429bb (diff) | |
download | pkgsrc-eedc406580077df20a8fba42a4422746d2976ec2.tar.gz |
Use VARBASE instead of hardcoding /var.
Diffstat (limited to 'games/xbill/patches')
-rw-r--r-- | games/xbill/patches/patch-ab | 8 |
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() { |