pal (0.4.3-8)  * Include the headers from ncursesw instead of ncurses.
                 Since both header variants are compatible, including
                 ncurses' headers worked as long as there was an indirect
                 dependency on libncurses5-dev.  Thanks to Peter Green
                 for the bug report and the patch.  (Closes: #651761)

===================================================================
--- pal-0.4.3.new.orig/src/add.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/add.c	2011-12-11 23:16:50.000000000 +0000
@@ -18,7 +18,7 @@
  *
  */
 
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/colorize.c
===================================================================
--- pal-0.4.3.new.orig/src/colorize.c	2011-12-11 23:13:43.000000000 +0000
+++ pal-0.4.3.new/src/colorize.c	2011-12-11 23:11:47.000000000 +0000
@@ -20,7 +20,7 @@
 
 #include <stdio.h>
 #include <stdlib.h> /* for getenv() */
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 #include "main.h"
 #include "colorize.h"
Index: pal-0.4.3.new/src/del.c
===================================================================
--- pal-0.4.3.new.orig/src/del.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/del.c	2011-12-11 23:17:44.000000000 +0000
@@ -19,7 +19,7 @@
  */
 
 #include <stdio.h>
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/edit.c
===================================================================
--- pal-0.4.3.new.orig/src/edit.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/edit.c	2011-12-11 23:17:19.000000000 +0000
@@ -18,7 +18,7 @@
  *
  */
 
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "main.h"
 #include "output.h"
Index: pal-0.4.3.new/src/main.c
===================================================================
--- pal-0.4.3.new.orig/src/main.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/main.c	2011-12-11 23:11:13.000000000 +0000
@@ -27,7 +27,7 @@
 #include <regex.h>     /* regular expressions */
 #include <glib.h>
 
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 
 #include "output.h"
 #include "main.h"
Index: pal-0.4.3.new/src/manage.c
===================================================================
--- pal-0.4.3.new.orig/src/manage.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/manage.c	2011-12-11 23:19:01.000000000 +0000
@@ -21,8 +21,8 @@
 #include "main.h"
 
 #include <readline/readline.h>
-#include <ncurses.h>
-#include <term.h>
+#include <ncursesw/ncurses.h>
+#include <ncursesw/term.h>
 #include <signal.h>
 #include <sys/ioctl.h> /* get # columns for terminal */
 
Index: pal-0.4.3.new/src/output.c
===================================================================
--- pal-0.4.3.new.orig/src/output.c	2008-07-28 16:16:23.000000000 +0000
+++ pal-0.4.3.new/src/output.c	2011-12-11 23:14:48.000000000 +0000
@@ -21,7 +21,7 @@
 #include <stdarg.h>
 #include <time.h>
 #include <string.h>
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 /* for vsnprintf */
 #include <stdarg.h>
Index: pal-0.4.3.new/src/rl.c
===================================================================
--- pal-0.4.3.new.orig/src/rl.c	2011-12-11 22:55:32.000000000 +0000
+++ pal-0.4.3.new/src/rl.c	2011-12-11 23:16:23.000000000 +0000
@@ -21,10 +21,10 @@
 #include "main.h"
 
 #include <readline/readline.h>
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 #include <time.h>
 
-#include <term.h>
+#include <ncursesw/term.h>
 
 
 #include "output.h"
