diff options
author | Mike Heffner <mikeh@FreeBSD.org> | 2003-01-04 19:03:16 +0000 |
---|---|---|
committer | Mike Heffner <mikeh@FreeBSD.org> | 2003-01-04 19:03:16 +0000 |
commit | 6b8fbfe42f561c0be465016764933a9a11e17443 (patch) | |
tree | f6cd6c92a18782f917f2996bdd766e697f306f67 /net-p2p/napshare/files | |
parent | 2d32933d4293201506736db22a64a176a6820289 (diff) |
Notes
Diffstat (limited to 'net-p2p/napshare/files')
-rw-r--r-- | net-p2p/napshare/files/patch-aa | 14 | ||||
-rw-r--r-- | net-p2p/napshare/files/patch-ab | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/net-p2p/napshare/files/patch-aa b/net-p2p/napshare/files/patch-aa new file mode 100644 index 000000000000..9eb943e6f166 --- /dev/null +++ b/net-p2p/napshare/files/patch-aa @@ -0,0 +1,14 @@ +--- 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) { diff --git a/net-p2p/napshare/files/patch-ab b/net-p2p/napshare/files/patch-ab new file mode 100644 index 000000000000..a11691a4ff67 --- /dev/null +++ b/net-p2p/napshare/files/patch-ab @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sat Jan 4 13:47:04 2003 ++++ Makefile.in Sat Jan 4 13:47:33 2003 +@@ -362,6 +362,8 @@ + fi \ + done \ + fi ++ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \ ++ $(INSTALL_DATA) $(srcdir)/NAPS-urlcache.txt $(DESTDIR)$(pkgdatadir); + + dist-hook: + if test -d pixmaps; then \ |