aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-10-19 01:13:25 +0800
committermezz <mezz@FreeBSD.org>2007-10-19 01:13:25 +0800
commit6db377d6cae6b80683fa470c029b031e3b574ba4 (patch)
treebfedf0067d32873b40f6ef519d4ec3ae5d4fd1b6 /irc
parentd684707e4c87e826bef48b05349eefd784287dc3 (diff)
downloadfreebsd-ports-gnome-6db377d6cae6b80683fa470c029b031e3b574ba4.tar.gz
freebsd-ports-gnome-6db377d6cae6b80683fa470c029b031e3b574ba4.tar.zst
freebsd-ports-gnome-6db377d6cae6b80683fa470c029b031e3b574ba4.zip
- 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/
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.")},
+