summaryrefslogtreecommitdiff
path: root/games/gnuchess
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-04-03 09:07:49 +0000
committerjoerg <joerg@pkgsrc.org>2008-04-03 09:07:49 +0000
commite46200844fb4a1a4765c69071c786e326e6426cb (patch)
tree5c534372618df6fb9c0fd4a10002f4d7b6953fbe /games/gnuchess
parent6dd3b31dc2cd05e36a4a950981867b00f45249d7 (diff)
downloadpkgsrc-e46200844fb4a1a4765c69071c786e326e6426cb.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"