components/bash/patches/solaris-025.libreadline.terminal.c.patch
changeset 5518 c47fe0edc204
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/bash/patches/solaris-025.libreadline.terminal.c.patch	Mon Feb 29 10:09:14 2016 -0800
@@ -0,0 +1,18 @@
+# If bash uses ncurses, then its own copy of libreadline should
+# use ncurses too.
+# Solaris-specific. On Linux, the <ncurses.h> header file is named
+# <curses.h>.
+# We should submit this upstream.
+--- lib/readline/terminal.c	2013-09-18 06:12:01.000000000 -0700
++++ lib/readline/terminal.c	2015-04-02 11:02:07.348094364 -0700
+@@ -48,6 +48,10 @@
+ 
+ #include <stdio.h>
+ 
++#if defined(SOLARIS)
++# include <ncurses/ncurses.h>
++#endif
++
+ /* System-specific feature definitions and include files. */
+ #include "rldefs.h"
+