diff options
Diffstat (limited to 'chat/eggdrop/patches')
-rw-r--r-- | chat/eggdrop/patches/patch-aa | 16 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ad | 6 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ag | 6 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ai | 8 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-al | 12 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-am | 6 |
6 files changed, 27 insertions, 27 deletions
diff --git a/chat/eggdrop/patches/patch-aa b/chat/eggdrop/patches/patch-aa index 199ff42aade..124231dbf71 100644 --- a/chat/eggdrop/patches/patch-aa +++ b/chat/eggdrop/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.4 2005/12/01 20:42:42 joerg Exp $ +$NetBSD: patch-aa,v 1.5 2007/10/18 09:15:33 obache Exp $ ---- configure.orig 2004-08-22 22:34:02.000000000 +0000 +--- configure.orig 2006-07-09 23:13:54.000000000 +0000 +++ configure @@ -4924,7 +4924,7 @@ _ACEOF @@ -11,9 +11,9 @@ $NetBSD: patch-aa,v 1.4 2005/12/01 20:42:42 joerg Exp $ # FreeBSD/OpenBSD/NetBSD all support dlopen() and have had plenty of # testing with Eggdrop. WEIRD_OS="no" -@@ -5303,10 +5303,16 @@ _ACEOF - SHLIB_CC="$CC -PIC" - fi +@@ -5306,10 +5306,16 @@ _ACEOF + # Solaris defines (2^31)-1 as the limit for random() rather than RAND_MAX. + RANDMAX="0x7FFFFFFF" ;; - *BSD) + *BSD | DragonFly) @@ -22,10 +22,10 @@ $NetBSD: patch-aa,v 1.4 2005/12/01 20:42:42 joerg Exp $ - SHLIB_LD="ld -Bshareable -x" + if [ `echo __ELF__ | $CC -E - | grep -v '#'` = 1 ]; then + SHLIB_LD="ld -shared -x" -+ BEL_MOD_LD="$CC -Wl,-E $LDFLAGS" ++ BEL_MOD_LD="$CC -Wl,-E $LDFLAGS" + else -+ SHLIB_LD="ld -Bshareable -x" -+ BEL_MOD_LD="$CC $LDFLAGS" ++ SHLIB_LD="ld -Bshareable -x" ++ BEL_MOD_LD="$CC $LDFLAGS" + fi ;; Darwin) diff --git a/chat/eggdrop/patches/patch-ad b/chat/eggdrop/patches/patch-ad index 1e56456697f..80eadcb76da 100644 --- a/chat/eggdrop/patches/patch-ad +++ b/chat/eggdrop/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.2 2004/12/03 12:15:54 adam Exp $ +$NetBSD: patch-ad,v 1.3 2007/10/18 09:15:34 obache Exp $ ---- src/mod/filesys.mod/filesys.c.orig 2004-07-02 21:02:02.000000000 +0000 +--- src/mod/filesys.mod/filesys.c.orig 2006-05-29 01:56:08.000000000 +0000 +++ src/mod/filesys.mod/filesys.c -@@ -461,7 +461,7 @@ static int do_dcc_send(int idx, char *di +@@ -464,7 +464,7 @@ static int do_dcc_send(int idx, char *di if (at_limit(nick)) { char xxx[1024]; diff --git a/chat/eggdrop/patches/patch-ag b/chat/eggdrop/patches/patch-ag index 020e1f4d122..da4cd77550a 100644 --- a/chat/eggdrop/patches/patch-ag +++ b/chat/eggdrop/patches/patch-ag @@ -1,6 +1,6 @@ -$NetBSD: patch-ag,v 1.6 2004/12/03 12:15:54 adam Exp $ +$NetBSD: patch-ag,v 1.7 2007/10/18 09:15:34 obache Exp $ ---- Makefile.in.orig 2004-07-25 11:17:33.000000000 +0000 +--- Makefile.in.orig 2004-08-28 06:43:21.000000000 +0000 +++ Makefile.in @@ -38,7 +38,7 @@ SHLIB_CC = @SHLIB_CC@ # Linker @@ -55,4 +55,4 @@ $NetBSD: patch-ag,v 1.6 2004/12/03 12:15:54 adam Exp $ +'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' \ 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static debug version)' 'MODOBJS=mod/*.o' - MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \ + MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' diff --git a/chat/eggdrop/patches/patch-ai b/chat/eggdrop/patches/patch-ai index 2370443facc..8d52dac6710 100644 --- a/chat/eggdrop/patches/patch-ai +++ b/chat/eggdrop/patches/patch-ai @@ -1,8 +1,8 @@ -$NetBSD: patch-ai,v 1.3 2004/12/03 12:15:54 adam Exp $ +$NetBSD: patch-ai,v 1.4 2007/10/18 09:15:34 obache Exp $ ---- src/mod/share.mod/share.c.orig 2004-07-02 21:02:02.000000000 +0000 +--- src/mod/share.mod/share.c.orig 2006-03-28 02:35:51.000000000 +0000 +++ src/mod/share.mod/share.c -@@ -1120,7 +1120,8 @@ static void share_ufsend(int idx, char * +@@ -1122,7 +1122,8 @@ static void share_ufsend(int idx, char * int i, sock; FILE *f; @@ -12,7 +12,7 @@ $NetBSD: patch-ai,v 1.3 2004/12/03 12:15:54 adam Exp $ 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"); -@@ -1889,8 +1890,8 @@ static void start_sending_users(int idx) +@@ -1891,8 +1892,8 @@ static void start_sending_users(int idx) struct chanuserrec *ch; struct chanset_t *cst; diff --git a/chat/eggdrop/patches/patch-al b/chat/eggdrop/patches/patch-al index 8cb99dc681a..96294f9e807 100644 --- a/chat/eggdrop/patches/patch-al +++ b/chat/eggdrop/patches/patch-al @@ -1,16 +1,16 @@ -$NetBSD: patch-al,v 1.1 2007/05/22 16:47:04 lkundrak Exp $ +$NetBSD: patch-al,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/irc.mod/chan.c.orig 2007-05-22 18:29:41.000000000 +0200 +--- src/mod/irc.mod/chan.c.orig 2006-03-28 02:35:51.000000000 +0000 +++ src/mod/irc.mod/chan.c -@@ -2204,7 +2204,8 @@ static int gotmsg(char *from, char *msg) - if (!chan) - return 0; /* Private msg to an unknown channel?? */ +@@ -2211,7 +2211,8 @@ static int gotmsg(char *from, char *msg) + return 0; /* Unknown channel; don't process. */ + fixcolon(msg); - strcpy(uhost, from); + strncpy(uhost, from, UHOSTMAX); + uhost[UHOSTMAX] = '\0'; nick = splitnick(&uhost); + ignoring = match_ignore(from); /* Only check if flood-ctcp is active */ - if (flud_ctcp_thr && detect_avalanche(msg)) { diff --git a/chat/eggdrop/patches/patch-am b/chat/eggdrop/patches/patch-am index 49be3600763..3819790b763 100644 --- a/chat/eggdrop/patches/patch-am +++ b/chat/eggdrop/patches/patch-am @@ -1,10 +1,10 @@ -$NetBSD: patch-am,v 1.1 2007/05/22 16:47:05 lkundrak Exp $ +$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 2007-05-22 18:29:49.000000000 +0200 +--- src/mod/server.mod/servmsg.c.orig 2006-03-28 02:35:51.000000000 +0000 +++ src/mod/server.mod/servmsg.c -@@ -424,7 +424,8 @@ static int gotmsg(char *from, char *msg) +@@ -461,7 +461,8 @@ static int gotmsg(char *from, char *msg) to = newsplit(&msg); fixcolon(msg); /* Only check if flood-ctcp is active */ |