diff options
Diffstat (limited to 'net-p2p/napshare/files/patch-aa')
-rw-r--r-- | net-p2p/napshare/files/patch-aa | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net-p2p/napshare/files/patch-aa b/net-p2p/napshare/files/patch-aa deleted file mode 100644 index 9eb943e6f166..000000000000 --- a/net-p2p/napshare/files/patch-aa +++ /dev/null @@ -1,14 +0,0 @@ ---- src/hosts.c.orig Sat Jan 4 13:25:05 2003 -+++ src/hosts.c Sat Jan 4 13:27:43 2003 -@@ -265,6 +265,11 @@ - g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", path); - cachef = fopen(h_tmp, "r"); // open the normal file - } -+ // Try opening from data directory -+ if (cachef == NULL) { -+ g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", PACKAGE_DATA_DIR); -+ cachef = fopen(h_tmp, "r"); -+ } - } - - if (!cachef) { |