From b42a6f4564fa10e2cfeee4bfda80398409639ed8 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 3 Apr 2008 09:07:49 +0000 Subject: Make sure read(2) has the prototype defined before using it. --- games/gnuchess/distinfo | 3 ++- games/gnuchess/patches/patch-ac | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 games/gnuchess/patches/patch-ac 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 + #include + #include ++#include + + #include "common.h" + #include "lexpgn.h" -- cgit v1.2.3