ncurses: Add include/ncursesw folder which some packages expect
This commit is contained in:
parent
c8c9d0b875
commit
aed0f1128f
@ -1,48 +0,0 @@
|
|||||||
diff -u -r ../gtypist-2.9.4/src/cursmenu.c ./src/cursmenu.c
|
|
||||||
--- ../gtypist-2.9.4/src/cursmenu.c 2013-08-18 16:36:14.000000000 +0200
|
|
||||||
+++ ./src/cursmenu.c 2014-03-01 01:17:09.000000000 +0100
|
|
||||||
@@ -24,7 +24,7 @@
|
|
||||||
#ifdef HAVE_PDCURSES
|
|
||||||
#include <curses.h>
|
|
||||||
#else
|
|
||||||
-#include <ncursesw/ncurses.h>
|
|
||||||
+#include <ncurses.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "error.h"
|
|
||||||
diff -u -r ../gtypist-2.9.4/src/error.c ./src/error.c
|
|
||||||
--- ../gtypist-2.9.4/src/error.c 2013-08-18 16:36:14.000000000 +0200
|
|
||||||
+++ ./src/error.c 2014-03-01 01:17:09.000000000 +0100
|
|
||||||
@@ -25,7 +25,7 @@
|
|
||||||
#ifdef HAVE_PDCURSES
|
|
||||||
#include <curses.h>
|
|
||||||
#else
|
|
||||||
-#include <ncursesw/ncurses.h>
|
|
||||||
+#include <ncurses.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
diff -u -r ../gtypist-2.9.4/src/script.c ./src/script.c
|
|
||||||
--- ../gtypist-2.9.4/src/script.c 2013-08-18 16:36:14.000000000 +0200
|
|
||||||
+++ ./src/script.c 2014-03-01 01:17:09.000000000 +0100
|
|
||||||
@@ -24,7 +24,7 @@
|
|
||||||
#ifdef HAVE_PDCURSES
|
|
||||||
#include <curses.h>
|
|
||||||
#else
|
|
||||||
-#include <ncursesw/ncurses.h>
|
|
||||||
+#include <ncurses.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "error.h"
|
|
||||||
diff -u -r ../gtypist-2.9.4/src/utf8.c ./src/utf8.c
|
|
||||||
--- ../gtypist-2.9.4/src/utf8.c 2013-08-18 16:36:14.000000000 +0200
|
|
||||||
+++ ./src/utf8.c 2014-03-01 01:17:09.000000000 +0100
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
#ifdef HAVE_PDCURSES
|
|
||||||
#include <curses.h>
|
|
||||||
#else
|
|
||||||
-#include <ncursesw/ncurses.h>
|
|
||||||
+#include <ncurses.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
@ -1,14 +0,0 @@
|
|||||||
diff -u -r ../multitail-6.2.1/mt.h ./mt.h
|
|
||||||
--- ../multitail-6.2.1/mt.h 2014-02-16 15:06:54.000000000 +0100
|
|
||||||
+++ ./mt.h 2014-06-30 16:38:06.000000000 +0200
|
|
||||||
@@ -49,8 +49,8 @@
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef UTF8_SUPPORT
|
|
||||||
- #include <ncursesw/panel.h>
|
|
||||||
- #include <ncursesw/ncurses.h>
|
|
||||||
+ #include <panel.h>
|
|
||||||
+ #include <ncurses.h>
|
|
||||||
#else
|
|
||||||
#if defined(sun) || defined(__sun) || defined(scoos) || defined(_HPUX_SOURCE) || defined(AIX) || defined(__CYGWIN__)
|
|
||||||
#include <ncurses/panel.h>
|
|
@ -27,6 +27,13 @@ termux_step_post_make_install () {
|
|||||||
(cd pkgconfig && ln -s -f ${lib}w.pc `echo $lib | sed 's/w//'`.pc)
|
(cd pkgconfig && ln -s -f ${lib}w.pc `echo $lib | sed 's/w//'`.pc)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Some packages wants this:
|
||||||
|
cd $TERMUX_PREFIX/include/
|
||||||
|
rm -Rf ncursesw
|
||||||
|
mkdir ncursesw
|
||||||
|
cd ncursesw
|
||||||
|
ln -s ../{ncurses.h,termcap.h,panel.h,unctrl.h,menu.h,form.h,tic.h,nc_tparm.h,term.h,eti.h,term_entry.h,ncurses_dll.h,curses.h} .
|
||||||
|
|
||||||
if [ `uname` = Darwin ]; then
|
if [ `uname` = Darwin ]; then
|
||||||
cd $TERMUX_PREFIX/share/terminfo
|
cd $TERMUX_PREFIX/share/terminfo
|
||||||
for l in *; do
|
for l in *; do
|
||||||
|
Loading…
Reference in New Issue
Block a user