diff options
Diffstat (limited to 'chat/bitchx/patches/patch-ac')
-rw-r--r-- | chat/bitchx/patches/patch-ac | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/chat/bitchx/patches/patch-ac b/chat/bitchx/patches/patch-ac deleted file mode 100644 index e50f4cfcd3b..00000000000 --- a/chat/bitchx/patches/patch-ac +++ /dev/null @@ -1,39 +0,0 @@ -$NetBSD: patch-ac,v 1.4 2003/01/31 00:17:45 salo Exp $ - ---- source/term.c.orig Thu Feb 28 05:22:51 2002 -+++ source/term.c Thu Jan 30 23:27:35 2003 -@@ -824,13 +824,14 @@ - int i; - int desired; - -+ char *t2ptr; - - #if !defined(__EMX__) && !defined(WINNT) && !defined(GUI) - memset(current_term, 0, sizeof(struct term_struct)); - - if (dumb_mode) - ircpanic("term_init called in dumb_mode"); -- *termcap2 = 0; -+ t2ptr = termcap2; - if (!term && !(term = getenv("TERM"))) - { - fprintf(stderr, "\n"); -@@ -877,13 +878,15 @@ - } - else - { -- char *tmp = termcap2; -- -- cval = Tgetstr(tcaps[i], tmp); -+ cval = Tgetstr(tcaps[i], t2ptr); -+#ifdef HAVE_TERMINFO - if (cval == (char *) -1) - *(char **)tcaps[i].ptr = NULL; - else - *(char **)tcaps[i].ptr = cval; -+#else -+ *(char **)tcaps[i].ptr = cval; -+#endif - } - } - |