diff options
Diffstat (limited to 'games/xgospel/patches/patch-ab')
-rw-r--r-- | games/xgospel/patches/patch-ab | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/xgospel/patches/patch-ab b/games/xgospel/patches/patch-ab new file mode 100644 index 00000000000..c9c146d2cf6 --- /dev/null +++ b/games/xgospel/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1 2000/12/27 03:26:25 wiz Exp $ + +--- connect.c.orig Tue Jan 5 17:13:29 1999 ++++ connect.c +@@ -94,10 +94,13 @@ + # endif + #endif + ++/* read/write return ssize_t, which aren't int on at least alpha */ ++#if 0 + #ifndef _POSIX_SOURCE + extern int read( /* int fd, char *buf, unsigned int n */); + extern int write(/* int fd, const char *buf, unsigned int n */); + #endif /* _POSIX_SOURCE */ ++#endif + extern int close(/* int fd */); + + #ifdef HAVE_NO_MEMMOVE |