pkgsrc/sysutils/pcvt-utils/patches/patch-ad

25 lines
610 B
Text

$NetBSD: patch-ad,v 1.2 2002/05/11 20:25:05 wiz Exp $
--- fed/fed.h.orig Sat Oct 7 22:44:48 1995
+++ fed/fed.h
@@ -32,7 +32,11 @@
* fed.h, 3.00, last edit-date: [Sun Jan 2 20:10:31 1994]
*/
+#ifdef __NetBSD__
+#include <curses.h>
+#else
#include <ncurses.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -109,7 +113,7 @@
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 clr_cmd ( void );