summaryrefslogtreecommitdiff
path: root/misc/display/files
diff options
context:
space:
mode:
Diffstat (limited to 'misc/display/files')
-rw-r--r--misc/display/files/patch-Makefile.in30
-rw-r--r--misc/display/files/patch-display.c51
2 files changed, 0 insertions, 81 deletions
diff --git a/misc/display/files/patch-Makefile.in b/misc/display/files/patch-Makefile.in
deleted file mode 100644
index 4888b3600a14..000000000000
--- a/misc/display/files/patch-Makefile.in
+++ /dev/null
@@ -1,30 +0,0 @@
---- Makefile.in.orig Wed Dec 14 05:50:47 2005
-+++ Makefile.in Thu Dec 15 14:49:37 2005
-@@ -2,10 +2,14 @@
- # vix 15dec86 [stolen from 'which']
-
- # start changing
--CFLAGS = -O
--DEST_DIR = /usr/local/bin
-+prefix = @prefix@
-+exec_prefix = @exec_prefix@
-+CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
-+CC = @CC@
-+DEST_DIR = @bindir@
- CURSES_LIBS = -lncurses
--MAN_DIR = /usr/local/man/man1
-+MAN_DIR = @mandir@/man1
- MAN_SUFFIX = 1
- SHAR_ARGS = -b -c -v
- # stop changing
-@@ -16,8 +20,7 @@
- all : display
-
- display : display.c
-- cc $(CFLAGS) -o $@ display.c $(CURSES_LIBS)
-- strip display
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ display.c $(CURSES_LIBS)
-
- install : all
- mv display $(DEST_DIR)
diff --git a/misc/display/files/patch-display.c b/misc/display/files/patch-display.c
deleted file mode 100644
index f19be20822fa..000000000000
--- a/misc/display/files/patch-display.c
+++ /dev/null
@@ -1,51 +0,0 @@
---- ./display.c.orig 2005-12-14 04:40:15.000000000 +0100
-+++ ./display.c 2014-03-20 01:01:07.000000000 +0100
-@@ -12,6 +12,10 @@
- #include <signal.h>
- #include <ctype.h>
- #include <time.h>
-+#include <stdio.h>
-+#include <unistd.h>
-+#include <stdlib.h>
-+#include <string.h>
-
- #define DEFAULT_DELAY 5
- #define DISPLAY_VERSION "1.2"
-@@ -19,17 +23,16 @@
- static char *Command;
- static int Delay;
-
-+static void die(), display(), parse_args(), usage();
-+
- char lt[128];
- int ntimes;
-
--main(argc, argv)
-+int main(argc, argv)
- int argc;
- char *argv[];
- {
- int i, c;
-- extern void parse_args(),
-- die(),
-- display();
-
- for(i = 0; i < 128; i++)
- {
-@@ -90,7 +93,7 @@
-
- void display()
- {
-- FILE *fp, *popen();
-+ FILE *fp;
- int ch;
- char *dt;
- time_t tnow;
-@@ -133,7 +136,6 @@
- int argc;
- char *argv[];
- {
-- extern void usage();
- auto int argn,
- delay_found;
-