diff options
author | mezz <mezz@FreeBSD.org> | 2008-06-15 00:25:41 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2008-06-15 00:25:41 +0800 |
commit | 528d4a162a121f9bd063180f51d595ecf93ebf24 (patch) | |
tree | 964076fd18b2afafccc9cb83703b227099888a6d /irc/xchat/files | |
parent | 401040ee966d32a343d2278bb4f8b17687e352a8 (diff) | |
download | freebsd-ports-gnome-528d4a162a121f9bd063180f51d595ecf93ebf24.tar.gz freebsd-ports-gnome-528d4a162a121f9bd063180f51d595ecf93ebf24.tar.zst freebsd-ports-gnome-528d4a162a121f9bd063180f51d595ecf93ebf24.zip |
Update to 2.8.6.
Diffstat (limited to 'irc/xchat/files')
-rw-r--r-- | irc/xchat/files/patch-src_fe-gtk_fe-gtk.c | 22 | ||||
-rw-r--r-- | irc/xchat/files/patch-xc284-fix-scrollbfdleak | 14 | ||||
-rw-r--r-- | irc/xchat/files/patch-xc284-improvescrollback | 28 | ||||
-rw-r--r-- | irc/xchat/files/patch-xc284-scrollbmkdir | 33 |
4 files changed, 0 insertions, 97 deletions
diff --git a/irc/xchat/files/patch-src_fe-gtk_fe-gtk.c b/irc/xchat/files/patch-src_fe-gtk_fe-gtk.c deleted file mode 100644 index 6573e33626fe..000000000000 --- a/irc/xchat/files/patch-src_fe-gtk_fe-gtk.c +++ /dev/null @@ -1,22 +0,0 @@ ---- src/fe-gtk/fe-gtk.c.orig 2008-03-07 13:04:07.000000000 -0600 -+++ src/fe-gtk/fe-gtk.c 2008-03-07 13:05:24.000000000 -0600 -@@ -660,7 +660,7 @@ - session *sess; - gdouble per; - char lagtext[64]; -- char lagtip[64]; -+ char lagtip[128]; - unsigned long nowtim; - - if (lag == -1) -@@ -716,8 +716,8 @@ - GSList *list = sess_list; - struct session *sess; - float per; -- char tbuf[64]; -- char tip[64]; -+ char tbuf[96]; -+ char tip[160]; - - per = (float) serv->sendq_len / 1024.0; - if (per > 1.0) diff --git a/irc/xchat/files/patch-xc284-fix-scrollbfdleak b/irc/xchat/files/patch-xc284-fix-scrollbfdleak deleted file mode 100644 index 32963cbf10b0..000000000000 --- a/irc/xchat/files/patch-xc284-fix-scrollbfdleak +++ /dev/null @@ -1,14 +0,0 @@ -# -# Scrollback shrinking code forgets to close(). -# ---- src/common/text.c 2007-06-13 19:59:56.000000000 +1000 -+++ src/common/text.c 2007-11-02 23:52:57.000000000 +1100 -@@ -141,6 +146,7 @@ - } - - *len = st.st_size; -+ close (fh); - return buf; - } - - diff --git a/irc/xchat/files/patch-xc284-improvescrollback b/irc/xchat/files/patch-xc284-improvescrollback deleted file mode 100644 index b83f251ed68c..000000000000 --- a/irc/xchat/files/patch-xc284-improvescrollback +++ /dev/null @@ -1,28 +0,0 @@ -# -# 1) Stops scrollback files growing too large by fixing the file-shrink code. -# 2) Puts a "Display scrollback from previous session" into the Setup GUI -# (logging section) so people can turn this off without typing commands. -# ---- src/common/text.c 29 Jul 2007 05:02:36 -0000 1.90 -+++ src/common/text.c 26 Sep 2007 07:29:55 -0000 -@@ -285,6 +285,8 @@ - } - } - -+ sess->scrollwritten = lines; -+ - if (lines) - { - text = ctime (&stamp); ---- src/fe-gtk/setup.c 9 Sep 2007 04:57:07 -0000 1.100 -+++ src/fe-gtk/setup.c 26 Sep 2007 07:29:57 -0000 -@@ -382,7 +382,8 @@ - static const setting logging_settings[] = - { - {ST_HEADER, N_("Logging"),0,0,0}, -- {ST_TOGGLE, N_("Enable logging of conversations"), P_OFFINTNL(logging), 0, 0, 2}, -+ {ST_TOGGLE, N_("Display scrollback from previous session"), P_OFFINTNL(text_replay), 0, 0, 0}, -+ {ST_TOGGLE, N_("Enable logging of conversations"), P_OFFINTNL(logging), 0, 0, 2}, - {ST_ENTRY, N_("Log filename:"), P_OFFSETNL(logmask), 0, 0, sizeof prefs.logmask}, - {ST_LABEL, N_("%s=Server %c=Channel %n=Network.")}, - diff --git a/irc/xchat/files/patch-xc284-scrollbmkdir b/irc/xchat/files/patch-xc284-scrollbmkdir deleted file mode 100644 index 2ac328497a8b..000000000000 --- a/irc/xchat/files/patch-xc284-scrollbmkdir +++ /dev/null @@ -1,33 +0,0 @@ -# -# Fix creation of ~/.xchat2/scrollback/ paths. -# ---- src/common/text.c 15 Jun 2007 03:53:42 -0000 1.89 -+++ src/common/text.c 8 Jul 2007 08:59:02 -0000 -@@ -49,20 +49,25 @@ - - - static void mkdir_p (char *dir); -+static char *log_create_filename (char *channame); - - - static char * - scrollback_get_filename (session *sess, char *buf, int max) - { -- char *net; -+ char *net, *chan; - - net = server_get_network (sess->server, FALSE); - if (!net) - return NULL; - -- snprintf (buf, max, "%s/scrollback/%s/%s.txt", get_xdir_fs (), net, sess->channel); -+ snprintf (buf, max, "%s/scrollback/%s/%s.txt", get_xdir_fs (), net, ""); - mkdir_p (buf); - -+ chan = log_create_filename (sess->channel); -+ snprintf (buf, max, "%s/scrollback/%s/%s.txt", get_xdir_fs (), net, chan); -+ free (chan); -+ - return buf; - } - |