summaryrefslogtreecommitdiff
path: root/games/xgospel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-27 03:26:25 +0000
committerwiz <wiz@pkgsrc.org>2000-12-27 03:26:25 +0000
commit20a526d0742fa28f98431a96e96044e6b328393a (patch)
tree4c9fdc6b0a370e3cbbb57f1dcf55b61586520808 /games/xgospel
parent8964c8c1f6204026391669537df5c0973f50d761 (diff)
downloadpkgsrc-20a526d0742fa28f98431a96e96044e6b328393a.tar.gz
Fix compilation on alpha. (ssize_t != int)
Diffstat (limited to 'games/xgospel')
-rw-r--r--games/xgospel/files/patch-sum6
-rw-r--r--games/xgospel/patches/patch-ab18
-rw-r--r--games/xgospel/patches/patch-ac17
-rw-r--r--games/xgospel/patches/patch-ad17
-rw-r--r--games/xgospel/patches/patch-ae17
5 files changed, 74 insertions, 1 deletions
diff --git a/games/xgospel/files/patch-sum b/games/xgospel/files/patch-sum
index 29bb0c83f99..ce7e012209d 100644
--- a/games/xgospel/files/patch-sum
+++ b/games/xgospel/files/patch-sum
@@ -1,3 +1,7 @@
-$NetBSD: patch-sum,v 1.1 1999/12/12 04:20:20 hubertf Exp $
+$NetBSD: patch-sum,v 1.2 2000/12/27 03:26:25 wiz Exp $
MD5 (patch-aa) = 22871d3ed8a0a067c3223cd4072a6529
+MD5 (patch-ab) = 4d8572b69032b59a7400f02c6c7d6868
+MD5 (patch-ac) = 6f8d4a26d88f913241e916969334eed0
+MD5 (patch-ad) = 3fba1510461b996745ebc0d6195a50b2
+MD5 (patch-ae) = 9206a2d1b7e76451d19673076f8f49f8
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)