Sadly, this patch does not appear to produce a working Curses.pm on my systems. However, by subtly undefining and defining ERR (present in the ncurses header files, but not apparently picked up correctly) in appropriate cases, I've managed to get it to build, install and work. :)