summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches
diff options
context:
space:
mode:
Diffstat (limited to 'chat/eggdrop/patches')
-rw-r--r--chat/eggdrop/patches/patch-ab4
-rw-r--r--chat/eggdrop/patches/patch-am16
2 files changed, 2 insertions, 18 deletions
diff --git a/chat/eggdrop/patches/patch-ab b/chat/eggdrop/patches/patch-ab
index e356234d689..6b27ec4b0dc 100644
--- a/chat/eggdrop/patches/patch-ab
+++ b/chat/eggdrop/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2004/12/03 12:15:54 adam Exp $
+$NetBSD: patch-ab,v 1.5 2009/06/10 13:33:39 obache Exp $
--- src/main.c.orig 2004-07-02 21:21:08.000000000 +0000
+++ src/main.c
@@ -16,7 +16,7 @@ $NetBSD: patch-ab,v 1.4 2004/12/03 12:15:54 adam Exp $
int use_stderr = 1; /* Send stuff to stderr instead of logfiles? */
-char configfile[121] = "eggdrop.conf"; /* Default config file name */
-+char configfile[121] = __PKG_SYSCONFDIR__ "eggdrop.conf"; /* Default config file name */
++char configfile[121] = __PKG_SYSCONFDIR__ "/eggdrop.conf"; /* Default config file name */
char pid_file[120]; /* Name of the pid file */
char helpdir[121] = "help/"; /* Directory of help files */
char textdir[121] = "text/"; /* Directory for text files */
diff --git a/chat/eggdrop/patches/patch-am b/chat/eggdrop/patches/patch-am
deleted file mode 100644
index 3819790b763..00000000000
--- a/chat/eggdrop/patches/patch-am
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-am,v 1.2 2007/10/18 09:15:34 obache Exp $
-
-Fix for http://www.eggheads.org/bugzilla/show_bug.cgi?id=462
-
---- src/mod/server.mod/servmsg.c.orig 2006-03-28 02:35:51.000000000 +0000
-+++ src/mod/server.mod/servmsg.c
-@@ -461,7 +461,8 @@ static int gotmsg(char *from, char *msg)
- to = newsplit(&msg);
- fixcolon(msg);
- /* Only check if flood-ctcp is active */
-- strcpy(uhost, from);
-+ strncpy(uhost, from, UHOSTMAX);
-+ uhost[UHOSTMAX] = '\0';
- nick = splitnick(&uhost);
- if (flud_ctcp_thr && detect_avalanche(msg)) {
- if (!ignoring) {