diff options
Diffstat (limited to 'irc')
-rw-r--r-- | irc/xchat/Makefile | 2 | ||||
-rw-r--r-- | irc/xchat/files/patch-xc284-improvescrollback | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile index d2537dcd6e9..f70f6ae2a3c 100644 --- a/irc/xchat/Makefile +++ b/irc/xchat/Makefile @@ -8,7 +8,7 @@ PORTNAME= xchat PORTVERSION= 2.8.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= irc gnome ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ diff --git a/irc/xchat/files/patch-xc284-improvescrollback b/irc/xchat/files/patch-xc284-improvescrollback new file mode 100644 index 00000000000..b83f251ed68 --- /dev/null +++ b/irc/xchat/files/patch-xc284-improvescrollback @@ -0,0 +1,28 @@ +# +# 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.")}, + |