summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-10-18 17:13:25 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-10-18 17:13:25 +0000
commit70e751c61ab25a627c596f19e2b4dbf969023603 (patch)
treefe396a05c8f749a51a8bad89f440d1989255efed /irc
parentForce Commit (bad vi) (diff)
- Stops scrollback files growing too large by fixing the file-shrink code.
- Puts a "Display scrollback from previous session" into the Setup GUI (logging section) so people can turn this off without typing commands. - Bump the PORTREVISION. Obtained from: http://xchat.org/files/source/2.8/patches/
Notes
Notes: svn path=/head/; revision=201647
Diffstat (limited to 'irc')
-rw-r--r--irc/xchat/Makefile2
-rw-r--r--irc/xchat/files/patch-xc284-improvescrollback28
2 files changed, 29 insertions, 1 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index d2537dcd6e95..f70f6ae2a3c8 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 000000000000..b83f251ed68c
--- /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.")},
+