check for __NetBSD__ and refer to ncurses header as <ncurses.h>.
+ move the patch digest/checksum values from files/patch-sum to distinfo