ports/misc/display/files/patch-aa
Peter Pentchev 6e7d9074cf Update to display-1.2a, which incorporates our 8-bit character patch and
also unconditionally uses libncurses now.
Honor ${STRIP}.
2005-12-15 12:54:25 +00:00

38 lines
655 B
Text

--- display.c.orig Thu Dec 15 14:29:14 2005
+++ display.c Thu Dec 15 14:29:58 2005
@@ -12,6 +12,7 @@
#include <signal.h>
#include <ctype.h>
#include <time.h>
+#include <stdio.h>
#define DEFAULT_DELAY 5
#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;
@@ -27,9 +30,6 @@
char *argv[];
{
int i, c;
- extern void parse_args(),
- die(),
- display();
for(i = 0; i < 128; i++)
{
@@ -90,7 +90,7 @@
void display()
{
- FILE *fp, *popen();
+ FILE *fp;
int ch;
char *dt;
time_t tnow;