pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/gnuchess Make sure read(2) has the prototype def...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3125c03bc89e
branches:  trunk
changeset: 540223:3125c03bc89e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 03 09:07:49 2008 +0000

description:
Make sure read(2) has the prototype defined before using it.

diffstat:

 games/gnuchess/distinfo         |   3 ++-
 games/gnuchess/patches/patch-ac |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r f6691215bf8f -r 3125c03bc89e games/gnuchess/distinfo
--- a/games/gnuchess/distinfo   Thu Apr 03 08:42:25 2008 +0000
+++ b/games/gnuchess/distinfo   Thu Apr 03 09:07:49 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2006/04/03 17:52:59 minskim Exp $
+$NetBSD: distinfo,v 1.9 2008/04/03 09:07:49 joerg Exp $
 
 SHA1 (gnuchess-5.07.tar.gz) = 7dbaf957bfea9cf37fe393e1fec7306de0162a16
 RMD160 (gnuchess-5.07.tar.gz) = 043ee9bfd9dacccd6c55905d4a1c390bf56ba603
 Size (gnuchess-5.07.tar.gz) = 234542 bytes
 SHA1 (patch-aa) = 417c8ca61142d08c827d2ca760b5ffb0c1988099
 SHA1 (patch-ab) = 2c0658138b08bb9d5f066ac3df3217d5e336bf83
+SHA1 (patch-ac) = 4d5a9a3ea1e898745607347848d50cb5ed0d1880
diff -r f6691215bf8f -r 3125c03bc89e games/gnuchess/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/gnuchess/patches/patch-ac   Thu Apr 03 09:07:49 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.7 2008/04/03 09:07:49 joerg Exp $
+
+--- src/lexpgn.l.orig  2008-04-03 11:01:56.000000000 +0200
++++ src/lexpgn.l
+@@ -37,6 +37,7 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ #include "common.h"
+ #include "lexpgn.h"



Home | Main Index | Thread Index | Old Index