summarylogtreecommitdiffstats
path: root/ncurses.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ncurses.patch')
-rw-r--r--ncurses.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/ncurses.patch b/ncurses.patch
new file mode 100644
index 000000000000..cb395c80b764
--- /dev/null
+++ b/ncurses.patch
@@ -0,0 +1,21 @@
+--- 1/GNUmakef.def
++++ 2/GNUmakef.def
+@@ -116,7 +116,7 @@
+ ifeq ($(WIDE_NCURSES),1)
+ LIBCURSES=-L/opt/csw/lib -lncursesw
+ else
+-LIBCURSES=-L/opt/csw/lib -lncurses
++LIBCURSES=-L/opt/ncurses-nonwide/lib -lncurses
+ endif
+ else
+ ifeq ($(PLATFORM),osx) # Mac OSX
+@@ -154,7 +154,8 @@
+ CFLAGS+=-I/usr/include/ncursesw/
+ LIBCURSES=-lncursesw
+ else
+-LIBCURSES=-lncurses
++CFLAGS+=-D_GNU_SOURCE -D_DEFAULT_SOURCE -I/opt/ncurses-nonwide/include
++LIBCURSES=-L/opt/ncurses-nonwide/lib -lncurses
+ endif
+ endif
+ endif