summaryrefslogtreecommitdiff
path: root/misc/display/files
diff options
context:
space:
mode:
Diffstat (limited to 'misc/display/files')
-rw-r--r--misc/display/files/patch-aa31
-rw-r--r--misc/display/files/patch-ab6
2 files changed, 19 insertions, 18 deletions
diff --git a/misc/display/files/patch-aa b/misc/display/files/patch-aa
index 6823c68c90bc..5f12009460d1 100644
--- a/misc/display/files/patch-aa
+++ b/misc/display/files/patch-aa
@@ -1,22 +1,23 @@
---- display.c.orig Tue Nov 16 12:34:12 1999
-+++ display.c Tue Nov 16 12:36:36 1999
-@@ -8,7 +8,7 @@
- #include <curses.h>
+--- display.c.orig Mon Mar 26 10:03:42 2001
++++ display.c Fri Mar 8 01:15:54 2002
+@@ -12,6 +12,7 @@
#include <signal.h>
#include <ctype.h>
--
+ #include <time.h>
+#include <stdio.h>
#define DEFAULT_DELAY 5
-
-@@ -16,15 +16,13 @@
+ #define DISPLAY_VERSION "1.2"
+@@ -19,6 +20,8 @@
static char *Command;
static int Delay;
+static void die(), display(), parse_args(), usage();
++
+ char lt[128];
+ int ntimes;
- main(argc, argv)
- int argc;
+@@ -27,9 +30,6 @@
char *argv[];
{
int i, c;
@@ -24,14 +25,14 @@
- die(),
- display();
- parse_args(argc, argv);
-
-@@ -68,7 +66,7 @@
+ for(i = 0; i < 128; i++)
+ {
+@@ -90,7 +90,7 @@
- static void display()
+ void display()
{
- FILE *fp, *popen();
+ FILE *fp;
char ch;
-
- if (!(fp = popen(Command, "r"))) {
+ char *dt;
+ time_t tnow;
diff --git a/misc/display/files/patch-ab b/misc/display/files/patch-ab
index 995c84251ae8..4f1a91044405 100644
--- a/misc/display/files/patch-ab
+++ b/misc/display/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Nov 12 11:46:27 1999
-+++ Makefile.in Fri Jan 21 00:59:30 2000
+--- Makefile.in.orig Tue Nov 28 13:17:40 2000
++++ Makefile.in Fri Mar 8 01:17:24 2002
@@ -2,10 +2,13 @@
# vix 15dec86 [stolen from 'which']
@@ -7,7 +7,7 @@
-CFLAGS = -O
-DEST_DIR = /usr/local/bin
-CURSES_LIBS = -lcurses -ltermcap
--MAN_DIR = /usr/man/man1
+-MAN_DIR = /usr/local/man/man1
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+CFLAGS = @CFLAGS@