summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-25 17:46:54 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-25 17:46:54 +0200
commitce50b0f007b8d71078a03d2a83ad8e35b0931dab (patch)
treee26d2f3272cdd4d90661345af4f3ac08ed5f55d7 /packages
parent2c8cefb3a269d66a6a705bcb4912b0657379273c (diff)
fixed critical but in ELF loader and finally got tput etc.. (ncurses) working
Diffstat (limited to 'packages')
-rw-r--r--packages/ncurses-5.9/README14
-rw-r--r--packages/ncurses-5.9/ncurses-5.9-foolos.patch77
2 files changed, 84 insertions, 7 deletions
diff --git a/packages/ncurses-5.9/README b/packages/ncurses-5.9/README
index d5bcc5a..5f22dfa 100644
--- a/packages/ncurses-5.9/README
+++ b/packages/ncurses-5.9/README
@@ -1,9 +1,9 @@
-1. extract ncurses-5.9
-2. cd ncurses
-3. exchange config.sub (just add foolos) and add +x
-4. put termios.h in sysroot/usr/include/sys
-5. ./configure --host=i686-foolos --without-tests --with-fallbacks=linux
-(or $ ./configure --host=i686-foolos --without-tests --with-fallbacks=linux --with-debug CFLAGS="-gstabs -O0" CXXFLAGS="-gstabs -O0"
+1. extract ncurses-5.9.tar.gz
+2. apply patch inside direcotry with : patch -p1 < ../ncurses-5.9-foolos.patch
+3. build in seperate directory
+5. ../ncurses-xxx/configure --host=i686-foolos --without-tests --with-fallbacks=linux
+(or $ ../ncurses-xxx/configure --host=i686-foolos --without-tests --with-fallbacks=linux --with-debug CFLAGS="-gstabs -O0" CXXFLAGS="-gstabs -O0")
+
+??? FOR SOME REASON WE NEED TO PASS : CC=i686-foolos-gcc
6. make
-AS A WORKAROUND PASS: LDFLAGS=-lfool CC=i686-foolos-gcc
diff --git a/packages/ncurses-5.9/ncurses-5.9-foolos.patch b/packages/ncurses-5.9/ncurses-5.9-foolos.patch
new file mode 100644
index 0000000..3bd30ac
--- /dev/null
+++ b/packages/ncurses-5.9/ncurses-5.9-foolos.patch
@@ -0,0 +1,77 @@
+diff -rc ncurses-5.9-original/config.sub ncurses-5.9-foolos/config.sub
+*** ncurses-5.9-original/config.sub 2010-09-11 00:25:58.000000000 +0200
+--- ncurses-5.9-foolos/config.sub 2015-05-24 11:32:41.269431181 +0200
+***************
+*** 1303,1309 ****
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+! | -sym* | -kopensolaris* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* | -aros* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+--- 1303,1309 ----
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+! | -sym* | -kopensolaris* | -foolos* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* | -aros* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+diff -rc ncurses-5.9-original/ncurses/tinfo/lib_baudrate.c ncurses-5.9-foolos/ncurses/tinfo/lib_baudrate.c
+*** ncurses-5.9-original/ncurses/tinfo/lib_baudrate.c 2010-12-19 02:50:50.000000000 +0100
+--- ncurses-5.9-foolos/ncurses/tinfo/lib_baudrate.c 2015-05-24 12:02:40.096469069 +0200
+***************
+*** 39,44 ****
+--- 39,48 ----
+
+ #include <curses.priv.h>
+ #include <termcap.h> /* ospeed */
++ #include <termios.h>
++
++
++
+ #if defined(__FreeBSD__)
+ #include <sys/param.h>
+ #endif
+diff -rc ncurses-5.9-original/ncurses/tty/lib_twait.c ncurses-5.9-foolos/ncurses/tty/lib_twait.c
+*** ncurses-5.9-original/ncurses/tty/lib_twait.c 2010-12-26 00:43:58.000000000 +0100
+--- ncurses-5.9-foolos/ncurses/tty/lib_twait.c 2015-05-24 12:15:03.770339113 +0200
+***************
+*** 53,58 ****
+--- 53,60 ----
+ #include <OS.h>
+ #endif
+
++ # include <sys/time.h>
++
+ #if USE_FUNC_POLL
+ # if HAVE_SYS_TIME_H
+ # include <sys/time.h>
+diff -rc ncurses-5.9-original/progs/toe.c ncurses-5.9-foolos/progs/toe.c
+*** ncurses-5.9-original/progs/toe.c 2010-05-02 00:04:08.000000000 +0200
+--- ncurses-5.9-foolos/progs/toe.c 2015-05-24 12:38:52.000570377 +0200
+***************
+*** 36,41 ****
+--- 36,43 ----
+ * toe.c --- table of entries report generator
+ */
+
++ #include <termios.h>
++
+ #include <progs.priv.h>
+
+ #include <sys/stat.h>
+diff -rc ncurses-5.9-original/progs/tset.c ncurses-5.9-foolos/progs/tset.c
+*** ncurses-5.9-original/progs/tset.c 2010-05-01 23:42:46.000000000 +0200
+--- ncurses-5.9-foolos/progs/tset.c 2015-05-24 12:34:33.000328018 +0200
+***************
+*** 85,90 ****
+--- 85,91 ----
+ * SUCH DAMAGE.
+ */
+
++ #include <termios.h>
+ #define USE_LIBTINFO
+ #define __INTERNAL_CAPS_VISIBLE /* we need to see has_hardware_tabs */
+ #include <progs.priv.h>