summaryrefslogtreecommitdiff
path: root/games/crossfire-cli
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-29 22:43:40 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-29 22:43:40 +0000
commit8e75ad951f973b4bceabd39887ededac7c5bcf53 (patch)
tree7c0f61d2ba1c42e1eb5ba377c297a2d95b38d23e /games/crossfire-cli
parente88d408616ad5508bae245176f0836b2cd6c58fe (diff)
downloadpkgsrc-8e75ad951f973b4bceabd39887ededac7c5bcf53.tar.gz
Fix errno.
Diffstat (limited to 'games/crossfire-cli')
-rw-r--r--games/crossfire-cli/distinfo7
-rw-r--r--games/crossfire-cli/patches/patch-ac12
-rw-r--r--games/crossfire-cli/patches/patch-ad13
-rw-r--r--games/crossfire-cli/patches/patch-ae12
-rw-r--r--games/crossfire-cli/patches/patch-af12
-rw-r--r--games/crossfire-cli/patches/patch-ag12
6 files changed, 67 insertions, 1 deletions
diff --git a/games/crossfire-cli/distinfo b/games/crossfire-cli/distinfo
index 91ab34a4f41..a3ddf39f7f6 100644
--- a/games/crossfire-cli/distinfo
+++ b/games/crossfire-cli/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 23:11:56 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/12/29 22:43:40 joerg Exp $
SHA1 (crossfire-client-1.0.0.tar.gz) = d6861684a40884efe6411d413b9273fa52314236
RMD160 (crossfire-client-1.0.0.tar.gz) = 1ec910b9244f9a1d6d0a4328c2037b48b3d7db73
@@ -11,3 +11,8 @@ RMD160 (client-0.95.2-raw-sounds.tgz) = aea5d7093f4b2037294020491c8b883f4f5938bf
Size (client-0.95.2-raw-sounds.tgz) = 326199 bytes
SHA1 (patch-aa) = 2b06d2b09e00b118b6e516102aa8860c72fc5094
SHA1 (patch-ab) = 27d4a550f4f630d9f19c6b81a7aa208a3580e8b1
+SHA1 (patch-ac) = 14e8165a1e1e67228a4db1b82f2c45f86b305d64
+SHA1 (patch-ad) = e8827a48461c2fe7ceaf902768544b548ef771bb
+SHA1 (patch-ae) = 7fee24e6787329414b4a417fd08b97411634f2c5
+SHA1 (patch-af) = c032ff53608e9d24a6d2afdfe552b1a43dfde4e9
+SHA1 (patch-ag) = 088fec4dc9a554b4d16f54c0d97b9c3225c6db84
diff --git a/games/crossfire-cli/patches/patch-ac b/games/crossfire-cli/patches/patch-ac
new file mode 100644
index 00000000000..cb21574c121
--- /dev/null
+++ b/games/crossfire-cli/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2005/12/29 22:43:40 joerg Exp $
+
+--- newsocket.c.orig 2005-12-29 16:24:27.000000000 +0000
++++ newsocket.c
+@@ -108,7 +108,6 @@ short GetShort_String(unsigned char *dat
+ int SockList_ReadPacket(int fd, SockList *sl, int len)
+ {
+ int stat,toread,readsome=0;
+- extern int errno;
+
+ /* We already have a partial packet */
+ if (sl->len<2) {
diff --git a/games/crossfire-cli/patches/patch-ad b/games/crossfire-cli/patches/patch-ad
new file mode 100644
index 00000000000..5c61339527b
--- /dev/null
+++ b/games/crossfire-cli/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/12/29 22:43:40 joerg Exp $
+
+--- client.h.orig 2005-12-29 16:30:10.000000000 +0000
++++ client.h
+@@ -199,8 +199,6 @@ extern int nosound, updatekeycodes;
+ /* WE need to declare most of the structs before we can include this */
+ #include <proto.h>
+
+-extern int errno;
+-
+ /* translation of the STAT_RES names into printable names,
+ * in matching order.
+ */
diff --git a/games/crossfire-cli/patches/patch-ae b/games/crossfire-cli/patches/patch-ae
new file mode 100644
index 00000000000..817464f71c2
--- /dev/null
+++ b/games/crossfire-cli/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2005/12/29 22:43:40 joerg Exp $
+
+--- client.c.orig 2001-05-13 22:03:07.000000000 +0000
++++ client.c
+@@ -16,6 +16,7 @@
+ */
+
+
++#include <errno.h>
+ #include <client.h>
+
+ /* actually declare the globals */
diff --git a/games/crossfire-cli/patches/patch-af b/games/crossfire-cli/patches/patch-af
new file mode 100644
index 00000000000..86eefc9f2bf
--- /dev/null
+++ b/games/crossfire-cli/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1 2005/12/29 22:43:40 joerg Exp $
+
+--- gx11.c.orig 2005-12-29 16:37:14.000000000 +0000
++++ gx11.c
+@@ -75,6 +75,7 @@
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
diff --git a/games/crossfire-cli/patches/patch-ag b/games/crossfire-cli/patches/patch-ag
new file mode 100644
index 00000000000..d714a892a4c
--- /dev/null
+++ b/games/crossfire-cli/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2005/12/29 22:43:40 joerg Exp $
+
+--- x11.c.orig 2005-12-29 16:39:09.000000000 +0000
++++ x11.c
+@@ -93,6 +93,7 @@
+ */
+
+
++#include <errno.h>
+ #include <client.h>
+ #include <clientbmap.h>
+ #include <item.h>