aboutsummaryrefslogtreecommitdiffstats
path: root/misc/display/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-27 01:43:20 +0800
committersteve <steve@FreeBSD.org>1999-11-27 01:43:20 +0800
commit5736e28a9a8fcb7491f7b243e9cb92f49a5939da (patch)
tree5fbd3467b3b1d650a29643a12beb97ce35ff2b8e /misc/display/files
parent9dd4e35b5b801d55ba674c93f496cec18ef8b67e (diff)
downloadfreebsd-ports-gnome-5736e28a9a8fcb7491f7b243e9cb92f49a5939da.tar.gz
freebsd-ports-gnome-5736e28a9a8fcb7491f7b243e9cb92f49a5939da.tar.zst
freebsd-ports-gnome-5736e28a9a8fcb7491f7b243e9cb92f49a5939da.zip
Update to version 1.1.
PR: 14921 Submitted by: Dominic Mitchell <dom@palmerharvey.co.uk>
Diffstat (limited to 'misc/display/files')
-rw-r--r--misc/display/files/patch-aa104
-rw-r--r--misc/display/files/patch-ab31
2 files changed, 64 insertions, 71 deletions
diff --git a/misc/display/files/patch-aa b/misc/display/files/patch-aa
index 7145aba69342..d99fef33c821 100644
--- a/misc/display/files/patch-aa
+++ b/misc/display/files/patch-aa
@@ -1,59 +1,45 @@
-*** ../display.c Mon Aug 25 18:45:10 1997
---- display.c Mon Aug 25 18:48:31 1997
-***************
-*** 8,13 ****
---- 8,14 ----
- #include <curses.h>
- #include <signal.h>
- #include <ctype.h>
-+ #include <stdio.h>
-
-
- #define DEFAULT_DELAY 5
-***************
-*** 16,30 ****
- static char *Command;
- static int Delay;
-
-
- main(argc, argv)
- int argc;
- char *argv[];
- {
-- extern void parse_args(),
-- die(),
-- display();
--
- parse_args(argc, argv);
-
- signal(SIGHUP, die);
---- 17,28 ----
- static char *Command;
- static int Delay;
-
-+ static void die(), display(), parse_args(), usage();
-
- main(argc, argv)
- int argc;
- char *argv[];
- {
- parse_args(argc, argv);
-
- signal(SIGHUP, die);
-***************
-*** 54,60 ****
-
- static void display()
- {
-! auto FILE *fp, *popen();
- auto char ch;
-
- if (!(fp = popen(Command, "r"))) {
---- 52,58 ----
-
- static void display()
- {
-! auto FILE *fp;
- auto char ch;
-
- if (!(fp = popen(Command, "r"))) {
+--- 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>
+ #include <signal.h>
+ #include <ctype.h>
+-
++#include <stdio.h>
+
+ #define DEFAULT_DELAY 5
+
+@@ -16,15 +16,13 @@
+ static char *Command;
+ static int Delay;
+
++static void die(), display(), parse_args(), usage();
+
+ main(argc, argv)
+ int argc;
+ char *argv[];
+ {
+ int i, c;
+- extern void parse_args(),
+- die(),
+- display();
+
+ parse_args(argc, argv);
+
+@@ -68,7 +66,7 @@
+
+ static void display()
+ {
+- FILE *fp, *popen();
++ FILE *fp;
+ char ch;
+
+ if (!(fp = popen(Command, "r"))) {
+@@ -83,7 +81,6 @@
+ addch(ch);
+ }
+ clrtoeol();
+- clrtobot();
+ refresh();
+ pclose(fp);
+ }
diff --git a/misc/display/files/patch-ab b/misc/display/files/patch-ab
index 1227a1fab267..b402d35369ea 100644
--- a/misc/display/files/patch-ab
+++ b/misc/display/files/patch-ab
@@ -1,12 +1,19 @@
-*** ../display.c Fri Sep 11 21:17:39 1998
---- display.c Thu Sep 10 20:51:23 1998
-***************
-*** 67,72 ****
---- 67,73 ----
- addch(ch);
- }
- clrtoeol();
-+ clrtobot();
- refresh();
- pclose(fp);
- }
+--- Makefile.in.orig Tue Nov 16 12:44:10 1999
++++ Makefile.in Tue Nov 16 12:43:58 1999
+@@ -2,10 +2,12 @@
+ # vix 15dec86 [stolen from 'which']
+
+ # start changing
+-CFLAGS = -O
+-DEST_DIR = /usr/local/bin
+-CURSES_LIBS = -lcurses -ltermcap
+-MAN_DIR = /usr/man/man1
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++CFLAGS = @CFLAGS@
++DEST_DIR = @bindir@
++CURSES_LIBS = -lncurses
++MAN_DIR = @mandir@/man1
+ MAN_SUFFIX = 1
+ SHAR_ARGS = -b -c -v
+ # stop changing