equal
deleted
inserted
replaced
|
1 Needed to get ircii to successfully run in 64-bit mode with Solaris |
|
2 libtermcap (really libcurses). Also need to have -DINCLUDE_CURSES_H |
|
3 defined in the component Makefile. |
|
4 |
|
5 This patch has not been sent upstream, because the Solaris integration |
|
6 of termcap diverges from the way that Linux systems do this. |
|
7 |
|
8 On Linux systems you do not need to have -DINCLUDE_CURSES_H defined, in |
|
9 order to build ircii. The tgoto() routine has a prototype definition in |
|
10 /usr/include/termcap.h (supplied by the ncurses package), which is |
|
11 found by configure: |
|
12 |
|
13 ... |
|
14 checking for termcap.h... yes |
|
15 ... |
|
16 |
|
17 On Solaris, we do not have a /usr/include/termcap.h file. Therefore, |
|
18 according to the curs_termcap(3CURSES) man page, for C sources files |
|
19 that want to use the tgoto() routine, we need to include both |
|
20 "#include <curses.h" and "#include <term.h>". For that we need to define |
|
21 -DINCLUDE_CURSES_H and also patch it to include term.h |
|
22 |
|
23 --- ircii-20111115/include/ircterm.h.orig 2013-05-09 14:53:15.390715728 -0700 |
|
24 +++ ircii-20111115/include/ircterm.h 2013-05-09 14:53:37.227217484 -0700 |
|
25 @@ -39,6 +39,7 @@ |
|
26 |
|
27 #ifdef INCLUDE_CURSES_H |
|
28 # include <curses.h> |
|
29 +# include <term.h> |
|
30 #endif /* INCLUDE_CURSES_H */ |
|
31 |
|
32 extern int term_reset_flag; |