diff options
author | wiz <wiz> | 2000-12-27 03:26:25 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-12-27 03:26:25 +0000 |
commit | 71fc5f96ab2dd3e08d84ee8f366aedae7cf2b80d (patch) | |
tree | 4c9fdc6b0a370e3cbbb57f1dcf55b61586520808 /games/xgospel/patches | |
parent | 2b17cbfaa3aad17459587e897199d2c0dd4c63cd (diff) | |
download | pkgsrc-71fc5f96ab2dd3e08d84ee8f366aedae7cf2b80d.tar.gz |
Fix compilation on alpha. (ssize_t != int)
Diffstat (limited to 'games/xgospel/patches')
-rw-r--r-- | games/xgospel/patches/patch-ab | 18 | ||||
-rw-r--r-- | games/xgospel/patches/patch-ac | 17 | ||||
-rw-r--r-- | games/xgospel/patches/patch-ad | 17 | ||||
-rw-r--r-- | games/xgospel/patches/patch-ae | 17 |
4 files changed, 69 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 diff --git a/games/xgospel/patches/patch-ac b/games/xgospel/patches/patch-ac new file mode 100644 index 00000000000..153f1de32b0 --- /dev/null +++ b/games/xgospel/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1 2000/12/27 03:26:26 wiz Exp $ + +--- relay.c.orig Mon Sep 14 11:05:49 1998 ++++ relay.c +@@ -66,10 +66,12 @@ + extern int pause(/* void */); + extern unsigned int alarm(/* unsigned int secs */); + ++#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_SOURC */ ++#endif + extern int close(/* int fd */); + extern int dup( /* int fd */); + extern int pipe(/* int fd[2] */); diff --git a/games/xgospel/patches/patch-ad b/games/xgospel/patches/patch-ad new file mode 100644 index 00000000000..c233eeb6a04 --- /dev/null +++ b/games/xgospel/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.1 2000/12/27 03:26:26 wiz Exp $ + +--- rport.c.orig Sun Jan 17 12:16:52 1999 ++++ rport.c +@@ -61,10 +61,12 @@ + #define INT_FROM_VOID(x) ((int)(long) (x)) + #define VOID_FROM_INT(x) ((void *) (long) (x)) + ++#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_SOURC */ ++#endif + extern int close(/* int fd */); + extern int gethostname(/* char *address, int addrlen */); + extern int select(/* int nfds, diff --git a/games/xgospel/patches/patch-ae b/games/xgospel/patches/patch-ae new file mode 100644 index 00000000000..e5e37a3cdc1 --- /dev/null +++ b/games/xgospel/patches/patch-ae @@ -0,0 +1,17 @@ +$NetBSD: patch-ae,v 1.1 2000/12/27 03:26:26 wiz Exp $ + +--- relog.c.orig Mon Sep 14 11:05:19 1998 ++++ relog.c +@@ -23,10 +23,12 @@ + #ifndef HAVE_NO_UNISTD_H + # include <unistd.h> + #endif /* HAVE_NO_UNISTD_H */ ++#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 */); + + int main(int argc, char **argv) |