pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/crossfire-cli Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd5b66c0b5ca
branches:  trunk
changeset: 505075:cd5b66c0b5ca
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 29 22:43:40 2005 +0000

description:
Fix errno.

diffstat:

 games/crossfire-cli/distinfo         |   7 ++++++-
 games/crossfire-cli/patches/patch-ac |  12 ++++++++++++
 games/crossfire-cli/patches/patch-ad |  13 +++++++++++++
 games/crossfire-cli/patches/patch-ae |  12 ++++++++++++
 games/crossfire-cli/patches/patch-af |  12 ++++++++++++
 games/crossfire-cli/patches/patch-ag |  12 ++++++++++++
 6 files changed, 67 insertions(+), 1 deletions(-)

diffs (99 lines):

diff -r 6ab07f1f091d -r cd5b66c0b5ca games/crossfire-cli/distinfo
--- a/games/crossfire-cli/distinfo      Thu Dec 29 22:39:09 2005 +0000
+++ b/games/crossfire-cli/distinfo      Thu Dec 29 22:43:40 2005 +0000
@@ -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 @@
 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 -r 6ab07f1f091d -r cd5b66c0b5ca games/crossfire-cli/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/crossfire-cli/patches/patch-ac      Thu Dec 29 22:43:40 2005 +0000
@@ -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 -r 6ab07f1f091d -r cd5b66c0b5ca games/crossfire-cli/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/crossfire-cli/patches/patch-ad      Thu Dec 29 22:43:40 2005 +0000
@@ -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 -r 6ab07f1f091d -r cd5b66c0b5ca games/crossfire-cli/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/crossfire-cli/patches/patch-ae      Thu Dec 29 22:43:40 2005 +0000
@@ -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 -r 6ab07f1f091d -r cd5b66c0b5ca games/crossfire-cli/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/crossfire-cli/patches/patch-af      Thu Dec 29 22:43:40 2005 +0000
@@ -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 -r 6ab07f1f091d -r cd5b66c0b5ca games/crossfire-cli/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/crossfire-cli/patches/patch-ag      Thu Dec 29 22:43:40 2005 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index