ports/editors/uemacs/patches/patch-h_eproto_h

21 lines
781 B
Text

Index: h/eproto.h
--- h/eproto.h.orig
+++ h/eproto.h
@@ -422,7 +422,7 @@ extern int PASCAL NEAR setfillcol(int f, int n);
extern int PASCAL NEAR setgmode(int f, int n);
extern int PASCAL NEAR setmark(int f, int n);
extern int PASCAL NEAR setmod(int f, int n);
-extern int PASCAL NEAR setwlist(char *wclist);
+extern void PASCAL NEAR setwlist(char *wclist);
extern int PASCAL NEAR shellprog(char *cmd);
extern int PASCAL NEAR showcpos(int f, int n);
extern int PASCAL NEAR showfiles(int f, int n);
@@ -552,7 +552,7 @@ extern int PASCAL NEAR backtagword(int f, int n); /* r
char *strrev(char *);
-#if WINNT || WINDOW_MSWIN || (MSDOS && IC) || GCC || VMS
+#if WINNT || WINDOW_MSWIN || (MSDOS && IC) || GCC || VMS || OPENBSD
#include <stdlib.h>
#include <string.h>
#else