aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2005-05-17 00:22:45 +0800
committeralfred <alfred@FreeBSD.org>2005-05-17 00:22:45 +0800
commit2561fae44ad1828efe47eb0e8c92a85e78aa91d7 (patch)
tree481cc4462d432c81c5b8aa610703cb45ff1ceaf4 /irc
parent20c31277fb713e9515d8da095d3cec6039aa9404 (diff)
downloadfreebsd-ports-gnome-2561fae44ad1828efe47eb0e8c92a85e78aa91d7.tar.gz
freebsd-ports-gnome-2561fae44ad1828efe47eb0e8c92a85e78aa91d7.tar.zst
freebsd-ports-gnome-2561fae44ad1828efe47eb0e8c92a85e78aa91d7.zip
bump revision for new patch
Diffstat (limited to 'irc')
-rw-r--r--irc/insub/Makefile2
-rw-r--r--irc/insub/files/patch-throttle38
2 files changed, 36 insertions, 4 deletions
diff --git a/irc/insub/Makefile b/irc/insub/Makefile
index 65a57ebc77f4..c5755ca9e421 100644
--- a/irc/insub/Makefile
+++ b/irc/insub/Makefile
@@ -7,7 +7,7 @@
PORTNAME= insub
PORTVERSION= 9.8
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://gruntle.org/projects/irssi/insub/
diff --git a/irc/insub/files/patch-throttle b/irc/insub/files/patch-throttle
index 1df58fde2cfc..8084fa646771 100644
--- a/irc/insub/files/patch-throttle
+++ b/irc/insub/files/patch-throttle
@@ -1,6 +1,38 @@
---- insub.old Tue Feb 22 22:53:08 2005
-+++ insub.pl Tue Feb 22 22:54:22 2005
-@@ -916,6 +916,7 @@
+--- insub.old Wed May 11 00:33:48 2005
++++ insub.pl Wed May 11 00:33:51 2005
+@@ -364,19 +364,24 @@
+ $text =~ s/</&lt;/g;
+ $text =~ s/>/&gt;/g;
+
+- if (defined($prev_bg_color) && $bg_col == $prev_bg_color &&
+- defined($prev_fg_color) && $fg_col == $prev_fg_color) {
+- $ret = $text;
++ if ((defined($prev_bg_color) && $bg_col != $prev_bg_color) ||
++ (defined($prev_fg_color) && $fg_col != $prev_fg_color)) {
++ $ret .= qq(</span>);
++ }
++
++ if ((defined($prev_bg_color) && $bg_col == $prev_bg_color) &&
++ (defined($prev_fg_color) && $fg_col == $prev_fg_color)) {
++ $ret .= $text;
+ } elsif ($bg_col == 1) {
+ # black is assumed because of a div taggy
+- $ret = sprintf(
+- qq(<span style="color:%s;">%s</span>),
++ $ret .= sprintf(
++ qq(<span style="color:%s;">%s),
+ $html_map->{$fg_col},
+ $text,
+ );
+ } else {
+- $ret = sprintf(
+- qq(<span style="color:%s;background-color:%s;">%s</span>),
++ $ret .= sprintf(
++ qq(<span style="color:%s;background-color:%s;">%s),
+ $html_map->{$fg_col},
+ $html_map->{$bg_col},
+ $text,
+@@ -916,6 +921,7 @@
}