diff options
Diffstat (limited to 'shells/flash/files')
| -rw-r--r-- | shells/flash/files/patch-aa | 56 | ||||
| -rw-r--r-- | shells/flash/files/patch-ab | 10 | ||||
| -rw-r--r-- | shells/flash/files/patch-ac | 11 | ||||
| -rw-r--r-- | shells/flash/files/patch-ad | 10 | ||||
| -rw-r--r-- | shells/flash/files/patch-ae | 10 | ||||
| -rw-r--r-- | shells/flash/files/patch-af | 10 | ||||
| -rw-r--r-- | shells/flash/files/patch-ag | 10 | ||||
| -rw-r--r-- | shells/flash/files/patch-ah | 17 | ||||
| -rw-r--r-- | shells/flash/files/patch-ai | 20 | ||||
| -rw-r--r-- | shells/flash/files/patch-aj | 20 | ||||
| -rw-r--r-- | shells/flash/files/patch-ak | 12 |
11 files changed, 186 insertions, 0 deletions
diff --git a/shells/flash/files/patch-aa b/shells/flash/files/patch-aa new file mode 100644 index 000000000000..a2bce4960dc8 --- /dev/null +++ b/shells/flash/files/patch-aa @@ -0,0 +1,56 @@ +--- Makefile.in Mon Jun 28 11:28:50 1999 ++++ Makefile.in.new Sun Jan 2 21:49:48 2000 +@@ -7,9 +7,8 @@ + INITIALMENU = system.menu + + # Directory to install everything to +-prefix = /usr/slocal + EXEC_PREFIX = ${prefix} +-BINDIR = $(EXEC_PREFIX)/bin ++BINDIR = $(EXEC_PREFIX)/sbin + LIBDIR = $(prefix)/lib/flash + MANDIR = $(prefix)/man/man1 + +@@ -23,29 +22,38 @@ + TAR = tar + TAROPTIONS = zcvf + RELNAME = $(PROGNAME).tar.gz ++NCURSES ?= ++NC_CFLAGS ?= ++NC_LFLAGS ?= + + # C Compiler + CC = gcc + DEBUG = -g + #DEBUG = -DDEBUG -g + #CPPFLAGS = -I/usr/include/ncurses -DHAVE_CONFIG_H -DPREFIX=\"/usr/slocal\" #-DDEBUG +-CPPFLAGS = -DHAVE_CONFIG_H -DPREFIX=\"/usr/slocal\" -DDONT_HIGHLIGHT_WITH_REVERSE #-DLITTLE_ENDIAN ++CPPFLAGS = $(NCURSES) $(NC_CFLAGS) -DHAVE_CONFIG_H -DPREFIX=\"$(prefix)\" -DDONT_HIGHLIGHT_WITH_REVERSE #-DLITTLE_ENDIAN + CFLAGS = -O2 $(CPPFLAGS) $(DEBUG) -Wall -rdynamic + +-LDFLAGS = -rdynamic +-LIBRARIES = -lncurses -ldl ++LDFLAGS = -rdynamic $(NC_LFLAGS) ++LIBRARIES = -lncurses + + SCREEN_SOURCES = screens/nc_init.c screens/nc_lock.c screens/nc_about.c screens/nc_menus.c screens/nc_misc.c screens/nc_job.c screens/nc_module.c + ++MODULE_PROGS = modules/countdown modules/background + SOURCES = main.c parse.c string.c set.c misc.c menu.c exec.c rc.c tree.c parseline.c event.c sha.c module.c debug.c $(SCREEN_SOURCES) + OBJECTS = $(SOURCES:.c=.o) + ++all: $(PROGNAME) ++ + .c.o: + $(CC) $(CFLAGS) -c -o $@ $< + +-$(PROGNAME): $(OBJECTS) ++$(PROGNAME): $(OBJECTS) $(MODULE_PROGS) + $(RM) $@ + $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBRARIES) ++ ++$(MODULE_PROGS): ++ $(MAKE) -C modules && $(MAKE) + + shacrypt: + $(CC) $(CFLAGS) -DO_WRAP -o $@ sha.c diff --git a/shells/flash/files/patch-ab b/shells/flash/files/patch-ab new file mode 100644 index 000000000000..bb323a2bdf32 --- /dev/null +++ b/shells/flash/files/patch-ab @@ -0,0 +1,10 @@ +--- exec.h Wed Mar 5 06:59:11 1997 ++++ exec.h.new Sat Dec 11 01:29:48 1999 +@@ -3,6 +3,7 @@ + + #include<signal.h> + #include<termios.h> ++#include <sys/types.h> + + #include "parse.h" + #include "menu.h" diff --git a/shells/flash/files/patch-ac b/shells/flash/files/patch-ac new file mode 100644 index 000000000000..c127b6b967ac --- /dev/null +++ b/shells/flash/files/patch-ac @@ -0,0 +1,11 @@ +--- menu.c Sun Apr 13 12:43:26 1997 ++++ menu.c.new Sat Dec 11 01:30:45 1999 +@@ -5,7 +5,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <malloc.h> ++#include <stdlib.h> + + #include "menu.h" + #include "parse.h" diff --git a/shells/flash/files/patch-ad b/shells/flash/files/patch-ad new file mode 100644 index 000000000000..a8778c70631b --- /dev/null +++ b/shells/flash/files/patch-ad @@ -0,0 +1,10 @@ +--- module.c Tue Jun 29 05:36:28 1999 ++++ module.c.new Sat Dec 11 01:34:45 1999 +@@ -25,7 +25,6 @@ + #include<stdlib.h> + #include<pwd.h> + #include<sys/types.h> +-#include<sys/resource.h> + #include<sys/wait.h> + #include<sys/stat.h> + #include<fcntl.h> diff --git a/shells/flash/files/patch-ae b/shells/flash/files/patch-ae new file mode 100644 index 000000000000..125eb0dc5c98 --- /dev/null +++ b/shells/flash/files/patch-ae @@ -0,0 +1,10 @@ +--- parseline.c Tue Jun 29 05:36:47 1999 ++++ parseline.c.new Sat Dec 11 01:34:21 1999 +@@ -25,7 +25,6 @@ + #include<string.h> + #include<pwd.h> + #include<sys/types.h> +-#include<sys/resource.h> + #include<sys/wait.h> + #include<sys/stat.h> + #include<fcntl.h> diff --git a/shells/flash/files/patch-af b/shells/flash/files/patch-af new file mode 100644 index 000000000000..cf914ddb6a03 --- /dev/null +++ b/shells/flash/files/patch-af @@ -0,0 +1,10 @@ +--- rc.c Tue Jun 29 05:36:54 1999 ++++ rc.c.new Sat Dec 11 01:34:05 1999 +@@ -25,7 +25,6 @@ + #include<stdlib.h> + #include<pwd.h> + #include<sys/types.h> +-#include<sys/resource.h> + #include<sys/wait.h> + #include<sys/stat.h> + #include<fcntl.h> diff --git a/shells/flash/files/patch-ag b/shells/flash/files/patch-ag new file mode 100644 index 000000000000..8eb10506809c --- /dev/null +++ b/shells/flash/files/patch-ag @@ -0,0 +1,10 @@ +--- screens/nc_menus.c Tue Jun 29 05:42:18 1999 ++++ screens/nc_menus.c.new Sat Dec 11 01:36:09 1999 +@@ -783,7 +783,6 @@ + struct menu *menu; + struct menu_items *HK; + int noclobber,gotch; +- char c; + + if (!(firstmenu)) + return; diff --git a/shells/flash/files/patch-ah b/shells/flash/files/patch-ah new file mode 100644 index 000000000000..73f404a552ea --- /dev/null +++ b/shells/flash/files/patch-ah @@ -0,0 +1,17 @@ +--- modules/alarms.c Tue Apr 15 18:34:15 1997 ++++ modules/alarms.c.new Sun Jan 2 20:50:02 2000 +@@ -1,5 +1,14 @@ ++#ifdef HAVE_CONFIG_H ++#include "../config.h" ++#endif ++ ++#ifdef HAVE_NCURSES_NCURSES_H ++#include <ncurses/ncurses.h> ++#include <ncurses/term.h> ++#else + #include <curses.h> + #include <term.h> ++#endif + + #include <stdlib.h> + #include <stdio.h> diff --git a/shells/flash/files/patch-ai b/shells/flash/files/patch-ai new file mode 100644 index 000000000000..346fc6367e74 --- /dev/null +++ b/shells/flash/files/patch-ai @@ -0,0 +1,20 @@ +--- modules/background.c Sat Oct 25 11:34:23 1997 ++++ modules/background.c.new Sun Jan 2 20:48:46 2000 +@@ -20,8 +20,17 @@ + + */ + ++#ifdef HAVE_CONFIG_H ++#include "../config.h" ++#endif ++ ++#ifdef HAVE_NCURSES_NCURSES_H ++#include <ncurses/ncurses.h> ++#include <ncurses/term.h> ++#else + #include <curses.h> + #include <term.h> ++#endif + + #include <stdlib.h> + #include <stdio.h> diff --git a/shells/flash/files/patch-aj b/shells/flash/files/patch-aj new file mode 100644 index 000000000000..b52941e26707 --- /dev/null +++ b/shells/flash/files/patch-aj @@ -0,0 +1,20 @@ +--- modules/countdown.c Wed Oct 29 13:42:28 1997 ++++ modules/countdown.c.new Sun Jan 2 20:50:16 2000 +@@ -4,8 +4,17 @@ + + */ + ++#ifdef HAVE_CONFIG_H ++#include "../config.h" ++#endif ++ ++#ifdef HAVE_NCURSES_NCURSES_H ++#include <ncurses/ncurses.h> ++#include <ncurses/term.h> ++#else + #include <curses.h> + #include <term.h> ++#endif + + #include <stdlib.h> + #include <stdio.h> diff --git a/shells/flash/files/patch-ak b/shells/flash/files/patch-ak new file mode 100644 index 000000000000..3aceecda21bc --- /dev/null +++ b/shells/flash/files/patch-ak @@ -0,0 +1,12 @@ +--- modules/Makefile Sat Oct 25 18:59:03 1997 ++++ modules/Makefile.new Sun Jan 2 21:51:53 2000 +@@ -1,7 +1,7 @@ + CC = gcc + DEBUG = #-g +-CFLAGS = $(DEBUG) -O3 -fpic -shared -Wall +-LDFLAGS = -shared ++CFLAGS = $(NCURSES) $(NC_CFLAGS) $(DEBUG) -O3 -fpic -shared -Wall ++LDFLAGS = $(NC_LFLAGS) -lncurses -shared + + OBJECTS = background test alarms countdown + |
