<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Get BitchX 1.1 final to compile on Fedora Core 11

This is a patch against BitchX 1.1 final. This should get it to compile under
Fedora Core 11. You must install the old version of the gcc compiler, by doing
    yum install gcc34 

Then use the following configure line:
    configure --prefix=/hd/usr CC=gcc34

BitchX 1.1 final is available as ircii-pana-1.1-final.tar.gz

diff -uNr a/BitchX/include/irc.h b/BitchX/include/irc.h
--- a/BitchX/include/irc.h      2003-04-10 18:09:07.000000000 -0700
+++ b/BitchX/include/irc.h      2009-11-22 04:47:48.000000000 -0800
@@ -33,6 +33,7 @@
 #include "config.h"
 #include &lt;stdio.h&gt;
 #include &lt;ctype.h&gt;
+#include &lt;sys/stat.h&gt;
 #include &lt;sys/types.h&gt;

 #include &lt;signal.h&gt;
diff -uNr a/BitchX/Makefile.in b/BitchX/Makefile.in
--- a/BitchX/Makefile.in        2003-04-10 18:09:04.000000000 -0700
+++ b/BitchX/Makefile.in        2009-11-22 04:51:08.000000000 -0800
@@ -74,7 +74,7 @@

 # Set this to -g if you want to be able to debug the client, otherwise
 # use -O to have the compiler do some optimization instead.
-CFLAGS = @CFLAGS@
+CFLAGS = -DNCURSES_TPARM_VARARGS -fno-strict-aliasing @CFLAGS@

 # Set this to -s if you want the binary to be stripped.
 LDFLAGS = @LDFLAGS@
diff -uNr a/BitchX/source/term.c b/BitchX/source/term.c
--- a/BitchX/source/term.c      2003-04-10 18:09:07.000000000 -0700
+++ b/BitchX/source/term.c      2009-11-22 04:53:03.000000000 -0800
@@ -91,8 +91,10 @@
 #define Tgetflag(x)    tgetflag(x.tname)
 #endif

+#ifndef NCURSES_VERSION
 extern  char    *getenv();
 extern char    *tparm();
+#endif

 /*
  * The old code assumed termcap. termcap is almost always present, but on
</pre></body></html>