summaryrefslogtreecommitdiff
path: root/games/gnuchess
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-03 09:07:49 +0000
committerjoerg <joerg>2008-04-03 09:07:49 +0000
commitb42a6f4564fa10e2cfeee4bfda80398409639ed8 (patch)
tree5c534372618df6fb9c0fd4a10002f4d7b6953fbe /games/gnuchess
parent2a8ddf5c7f28e322cd4361ce2141056eeb6f39ca (diff)
downloadpkgsrc-b42a6f4564fa10e2cfeee4bfda80398409639ed8.tar.gz
Make sure read(2) has the prototype defined before using it.
Diffstat (limited to 'games/gnuchess')
-rw-r--r--games/gnuchess/distinfo3
-rw-r--r--games/gnuchess/patches/patch-ac12
2 files changed, 14 insertions, 1 deletions
diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo
index 34e93f8251a..60e5838a53c 100644
--- a/games/gnuchess/distinfo
+++ b/games/gnuchess/distinfo
@@ -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 --git a/games/gnuchess/patches/patch-ac b/games/gnuchess/patches/patch-ac
new file mode 100644
index 00000000000..d16d1fd4057
--- /dev/null
+++ b/games/gnuchess/patches/patch-ac
@@ -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"