summaryrefslogtreecommitdiff
path: root/chat/bitchx/patches
diff options
context:
space:
mode:
authorwiz <wiz>2002-09-09 18:04:16 +0000
committerwiz <wiz>2002-09-09 18:04:16 +0000
commit8903d1df9d4f521e626a47921a708ec02661e9b9 (patch)
treebe6718fcd9d0ea047d67853db43165555d201bd6 /chat/bitchx/patches
parenta7d94aca8f76708c9b3455fc132c2144aebfa820 (diff)
downloadpkgsrc-8903d1df9d4f521e626a47921a708ec02661e9b9.tar.gz
Add patch that might fix pkg/17715, submitter never replied.
Diffstat (limited to 'chat/bitchx/patches')
-rw-r--r--chat/bitchx/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/bitchx/patches/patch-ad b/chat/bitchx/patches/patch-ad
new file mode 100644
index 00000000000..31822c92109
--- /dev/null
+++ b/chat/bitchx/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2002/09/09 18:04:19 wiz Exp $
+
+--- source/screen.c.orig Mon Jan 8 07:24:22 2001
++++ source/screen.c
+@@ -2971,6 +2971,8 @@ static char retbuf[512];
+
+ if (back == 58)
+ strcat(retbuf, current_term->TI_sgrstrs[TERM_SGR_BLINK_ON - 1]);
++ if (fore > 57)
++ fore = last_fore;
+ if (fore > -1)
+ strcat(retbuf, current_term->TI_forecolors[fore_conv[fore]]);
+ if (back > -1 && back < 58)