To: | bug-Curses [...] rt.cpan.org |
From: | gene <gene03 [...] smalltime.com> |
Subject: | c-darwin-thread-multi-2level.h |
Date: | Wed, 8 Sep 2004 11:24:16 -0700 |
This is a bug fix for compiling Curses.pm on Mac OS X 10.3 (perl
version darwin-thread-multi-2level).
First, the Perl_sv_isa patch
(http://rt.cpan.org/NoAuth/Bug.html?id=7562) needs to be applied.
Second, a hints file needs to be created as so:
/* Hint file for Darwin Kernel Version 7.5.0, ncurses version of
libcurses.
* Based in FreeBSD, ncurses hints file
*
*/
#include <ncurses.h>
#ifdef C_PANELSUPPORT
#include <panel.h>
#endif
#ifdef C_MENUSUPPORT
#include <menu.h>
#endif
#ifdef C_FORMSUPPORT
#include <form.h>
#endif
#define C_LONGNAME
#define C_LONG0ARGS
#undef C_LONG2ARGS
#define C_TOUCHLINE
#define C_TOUCH3ARGS
#undef C_TOUCH4ARGS
#undef instr
#undef bool