From 7e62de057ee9564e5a4561cd223066e6b4345e9e Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 18 Nov 2003 21:49:35 +0000 Subject: - Restore patch that was incorrectly removed in update to 1.6.15 PR: ports/59434 Submitted by: maintainer Approved by: marcus (backup mentor) --- irc/eggdrop/Makefile | 2 +- irc/eggdrop/files/patch-ai | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'irc/eggdrop') diff --git a/irc/eggdrop/Makefile b/irc/eggdrop/Makefile index 7a62b759661b..82aa2cc84cb8 100644 --- a/irc/eggdrop/Makefile +++ b/irc/eggdrop/Makefile @@ -7,7 +7,7 @@ PORTNAME= eggdrop PORTVERSION= 1.6.15 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc tcl84 MASTER_SITES= ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ DISTNAME= ${PORTNAME:S/-//}${PORTVERSION} diff --git a/irc/eggdrop/files/patch-ai b/irc/eggdrop/files/patch-ai index 2af67bd48cf7..1544a5a0f184 100644 --- a/irc/eggdrop/files/patch-ai +++ b/irc/eggdrop/files/patch-ai @@ -1,5 +1,5 @@ ---- src/mod/share.mod/share.c.orig Mon Jun 2 11:32:29 2003 -+++ src/mod/share.mod/share.c Mon Jun 2 11:33:20 2003 +--- src/mod/share.mod/share.c.orig Mon May 5 00:05:33 2003 ++++ src/mod/share.mod/share.c Tue Nov 18 16:51:41 2003 @@ -1113,7 +1113,7 @@ int i, sock; FILE *f; @@ -9,3 +9,14 @@ if (!(b_status(idx) & STAT_SHARE)) { dprintf(idx, "s e You didn't ask; you just started sending.\n"); dprintf(idx, "s e Ask before sending the userfile.\n"); +@@ -1883,8 +1883,8 @@ + struct chanuserrec *ch; + struct chanset_t *cst; + +- egg_snprintf(share_file, sizeof share_file, ".share.%s.%lu", dcc[idx].nick, +- now); ++ egg_snprintf(share_file, sizeof share_file, "%.100s/.share.%s.%lu", ++ tempdir, dcc[idx].nick, now); + if (dcc[idx].u.bot->uff_flags & UFF_OVERRIDE) { + debug1("NOTE: Sharing aggressively with %s, overriding its local bots.", + dcc[idx].nick); -- cgit v1.2.3