summaryrefslogtreecommitdiff
path: root/net/gnapster/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/gnapster/patches/patch-ac')
-rw-r--r--net/gnapster/patches/patch-ac25
1 files changed, 0 insertions, 25 deletions
diff --git a/net/gnapster/patches/patch-ac b/net/gnapster/patches/patch-ac
deleted file mode 100644
index d32743adeef..00000000000
--- a/net/gnapster/patches/patch-ac
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ac,v 1.5 2001/12/12 18:25:40 wiz Exp $
-
---- src/utils.c.orig Mon Jun 4 11:06:17 2001
-+++ src/utils.c
-@@ -901,8 +901,10 @@
-
- if (file)
- d_msprintf(&path, "%s/.gnapster/%s/%s", getenv("HOME"), subdir, file);
-- else
-+ else if (subdir)
- d_msprintf(&path, "%s/.gnapster/%s", getenv("HOME"), subdir);
-+ else
-+ d_msprintf(&path, "%s/.gnapster", getenv("HOME"));
-
- return path;
- }
-@@ -1498,7 +1500,7 @@
-
- relocate_config(home);
-
-- path = local_path("", NULL);
-+ path = local_path(NULL, NULL);
- if (stat(path, &st) < 0)
- if (mkdir(path, 0755) < 0)
- fprintf(stderr, "Could not create ~/.gnapster directory...functionality may be limited\n");