pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/dircproxy-devel/patches Remove obsolete patches f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22d10d5b57b0
branches:  trunk
changeset: 534220:22d10d5b57b0
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Oct 13 22:56:55 2007 +0000

description:
Remove obsolete patches for recent update. (from tron@)

diffstat:

 chat/dircproxy-devel/patches/patch-ac |  43 -----------------------------
 chat/dircproxy-devel/patches/patch-ad |  51 -----------------------------------
 chat/dircproxy-devel/patches/patch-ae |  13 --------
 chat/dircproxy-devel/patches/patch-af |  13 --------
 4 files changed, 0 insertions(+), 120 deletions(-)

diffs (136 lines):

diff -r 1a8eaa9ec0bd -r 22d10d5b57b0 chat/dircproxy-devel/patches/patch-ac
--- a/chat/dircproxy-devel/patches/patch-ac     Sat Oct 13 22:14:15 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2006/06/30 15:53:18 tron Exp $
-
---- src/irc_server.c.orig      2006-02-18 22:39:32.000000000 +0000
-+++ src/irc_server.c   2006-06-30 16:44:53.000000000 +0100
-@@ -587,9 +587,10 @@
-         ;
-         if (strcmp(ss->str,s->str))  // this line is not already present
-           ss->next = s;
--        else
-+        else {
-         free(s->str);
-           free(s);
-+        }
-       } else {
-         p->serversupported = s;
-       }
-@@ -788,7 +789,7 @@
-               free(s);
- 
-               /* Was in the squelch list, so remove it and stop looking */
--              s = (l ? l->next : p->squelch_modes) = n;
-+              s = *(l ? &l->next : &p->squelch_modes) = n;
-               squelch = 1;
-               break;
-             } else {
-@@ -817,7 +818,7 @@
-         if (p->squelch_modes) {
-           struct strlist *s, *l;
- 
--          l = 0;
-+          l = NULL;
-           s = p->squelch_modes;
- 
-           while (s) {
-@@ -829,7 +830,7 @@
-               free(s);
- 
-               /* Was in the squelch list, so remove it and stop looking */
--              s = (l ? l->next : p->squelch_modes) = n;
-+              s = *(l ? &l->next : &p->squelch_modes) = n;
-               squelch = 1;
-               break;
-             } else {
diff -r 1a8eaa9ec0bd -r 22d10d5b57b0 chat/dircproxy-devel/patches/patch-ad
--- a/chat/dircproxy-devel/patches/patch-ad     Sat Oct 13 22:14:15 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2006/04/28 13:23:25 tron Exp $
-
---- src/irc_log.c.orig 2006-02-18 22:39:32.000000000 +0000
-+++ src/irc_log.c      2006-04-28 14:06:01.000000000 +0100
-@@ -58,7 +58,7 @@
- 
- 
- /* Log time format for strftime(3) */
--#define LOG_TIME_FORMAT "%H:%M"
-+#define LOG_TIME_FORMAT "[%H:%M] "
- 
- /* User log time format */
- #define LOG_USER_TIME_FORMAT "[%d %b %H:%M] "
-@@ -952,13 +952,13 @@
-           diff = now - when;
- 
-           if (diff < 82800L) {                /* Within 23 hours [hh:mm] */
--            strftime(tbuf, sizeof(tbuf), "%H:%M", localtime(&when));
-+            strftime(tbuf, sizeof(tbuf), "[%H:%M] ", localtime(&when));
-           } else if (diff < 518400L) {        /* Within 6 days [day hh:mm] */
--            strftime(tbuf, sizeof(tbuf), "%a %H:%M", localtime(&when));
-+            strftime(tbuf, sizeof(tbuf), "[%a %H:%M] ", localtime(&when));
-           } else if (diff < 25920000L) {      /* Within 300 days [d mon] */
--            strftime(tbuf, sizeof(tbuf), "%d %b", localtime(&when));
-+            strftime(tbuf, sizeof(tbuf), "[%d %b] ", localtime(&when));
-           } else {                            /* Otherwise [d mon yyyy] */
--            strftime(tbuf, sizeof(tbuf), "%d %b %Y", localtime(&when));
-+            strftime(tbuf, sizeof(tbuf), "[%d %b %Y] ", localtime(&when));
-           }
-         } else {
-           strftime(tbuf, sizeof(tbuf), LOG_TIME_FORMAT, localtime(&when));
-@@ -988,15 +988,15 @@
-       
-         /* Send the line */
-       if (event == IRC_LOG_MSG) {
--        net_send(p->client_sock, ":%s PRIVMSG %s :[%s] %s\r\n", frm, to, tbuf, msg);
-+        net_send(p->client_sock, ":%s PRIVMSG %s :%s%s\r\n", frm, to, tbuf, msg);
-       } else if (event == IRC_LOG_ACTION) {
--        net_send(p->client_sock, ":%s PRIVMSG %s :\001ACTION [%s] %s\001\r\n", frm, to, tbuf, msg);
-+        net_send(p->client_sock, ":%s PRIVMSG %s :\001ACTION %s%s\001\r\n", frm, to, tbuf, msg);
-       } else if (event == IRC_LOG_CTCP) {
--        net_send(p->client_sock, ":%s PRIVMSG %s :\001%s [%s]%s%s\001\r\n", src, to, eventtext, tbuf, (strlen(msg) ? " " : ""), msg);
-+        net_send(p->client_sock, ":%s PRIVMSG %s :\001%s %s%s%s\001\r\n", src, to, eventtext, tbuf, (strlen(msg) ? " " : ""), msg);
-       } else if (event == IRC_LOG_NOTICE) {
-         ircclient_send_notice(p, "%s", msg);
-       } else {
--        net_send(p->client_sock, ":%s PRIVMSG %s :[%s] %s\r\n", src, to, tbuf, msg);
-+        net_send(p->client_sock, ":%s PRIVMSG %s :%s%s\r\n", src, to, tbuf, msg);
-       }
- 
-       free(ll);
diff -r 1a8eaa9ec0bd -r 22d10d5b57b0 chat/dircproxy-devel/patches/patch-ae
--- a/chat/dircproxy-devel/patches/patch-ae     Sat Oct 13 22:14:15 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2006/06/30 15:53:18 tron Exp $
-
---- src/dcc_net.c.orig 2006-02-18 22:39:32.000000000 +0000
-+++ src/dcc_net.c      2006-06-30 16:49:06.000000000 +0100
-@@ -368,7 +368,7 @@
-       n = p->next;
-       _dccnet_free(p);
- 
--      p = (l ? l->next : proxies) = n;
-+      p = *(l ? &l->next : &proxies) = n;
-     } else {
-       l = p;
-       p = p->next;
diff -r 1a8eaa9ec0bd -r 22d10d5b57b0 chat/dircproxy-devel/patches/patch-af
--- a/chat/dircproxy-devel/patches/patch-af     Sat Oct 13 22:14:15 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2006/06/30 15:53:18 tron Exp $
-
---- src/net.c.orig     2006-02-18 22:39:32.000000000 +0000
-+++ src/net.c  2006-06-30 16:50:54.000000000 +0100
-@@ -459,7 +459,7 @@
-     return 0;
-   }
-   
--  l = &(buff == SB_IN ? s->in_buff_last : s->out_buff_last);
-+  l = (buff == SB_IN) ? &s->in_buff_last : &s->out_buff_last;
- 
-   /* Check whether we can just add to the existing buffer */
-   if ((mode == SM_RAW) && *l && ((*l)->mode == mode)) {



Home | Main Index | Thread Index | Old Index