diff options
Diffstat (limited to 'sysutils/pcvt-utils/patches/patch-ad')
-rw-r--r-- | sysutils/pcvt-utils/patches/patch-ad | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/sysutils/pcvt-utils/patches/patch-ad b/sysutils/pcvt-utils/patches/patch-ad index 1c6f71e3256..e768d7f14ca 100644 --- a/sysutils/pcvt-utils/patches/patch-ad +++ b/sysutils/pcvt-utils/patches/patch-ad @@ -1,25 +1,29 @@ -$NetBSD: patch-ad,v 1.2 2002/05/11 20:25:05 wiz Exp $ +$NetBSD: patch-ad,v 1.3 2011/10/01 21:42:16 dholland Exp $ ---- fed/fed.h.orig Sat Oct 7 22:44:48 1995 +- use pkgsrc curses +- void main +- use const for clean build + +--- fed/fed.h.orig 1995-10-07 21:44:48.000000000 +0000 +++ fed/fed.h -@@ -32,7 +32,11 @@ +@@ -32,7 +32,7 @@ * fed.h, 3.00, last edit-date: [Sun Jan 2 20:10:31 1994] */ -+#ifdef __NetBSD__ +-#include <ncurses.h> +#include <curses.h> -+#else - #include <ncurses.h> -+#endif #include <stdlib.h> #include <string.h> #include <unistd.h> -@@ -109,7 +113,7 @@ +@@ -109,9 +113,9 @@ void invert ( void ); void setchr ( char type ); void setrow ( char type ); void setcol ( char type ); -void main ( int argc, char *argv[] ); +int main ( int argc, char *argv[] ); void readfont ( char *filename ); - void dis_cmd ( char *strg ); +-void dis_cmd ( char *strg ); ++void dis_cmd ( const char *strg ); void clr_cmd ( void ); + void save_ch ( void ); + void move_ch ( int src, int dest ); |