summaryrefslogtreecommitdiff
path: root/games/exchess
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-04-17 05:48:34 +0000
committerminskim <minskim@pkgsrc.org>2005-04-17 05:48:34 +0000
commit1b93ee58ba0885494db0f9343d14543f746805b6 (patch)
treea6667d8ddde337709bd3a8d1c7611b69cf9f6170 /games/exchess
parent04043ea966d02de65a35d5f79b77d354b42b607f (diff)
downloadpkgsrc-1b93ee58ba0885494db0f9343d14543f746805b6.tar.gz
Include time.h to use time().
Diffstat (limited to 'games/exchess')
-rw-r--r--games/exchess/distinfo3
-rw-r--r--games/exchess/patches/patch-ak12
2 files changed, 14 insertions, 1 deletions
diff --git a/games/exchess/distinfo b/games/exchess/distinfo
index e9275022fcc..27c6138a58d 100644
--- a/games/exchess/distinfo
+++ b/games/exchess/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 23:11:56 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/04/17 05:48:34 minskim Exp $
SHA1 (EXCH314S.zip) = 7d8ffbd94dc86a97512826e611048a691c8c646d
RMD160 (EXCH314S.zip) = 0503200c210aaf7ddc69e1372392e8ea690505ea
@@ -13,3 +13,4 @@ SHA1 (patch-ag) = 00bb9750c823aecd7fa44aacc1cf539e062055a9
SHA1 (patch-ah) = 872b0b7c62f95075f0ce7360464fa51215619ee3
SHA1 (patch-ai) = 5aaa3e15304c8f19282770d126623d71bf747dbe
SHA1 (patch-aj) = 83f69a5deb3198877a7c8309f34ed9f1189b355a
+SHA1 (patch-ak) = 659f1cf07efefe524be4d025446fea55eb5f3e9a
diff --git a/games/exchess/patches/patch-ak b/games/exchess/patches/patch-ak
new file mode 100644
index 00000000000..15cca7f1f8d
--- /dev/null
+++ b/games/exchess/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1 2005/04/17 05:48:34 minskim Exp $
+
+--- util.cpp.orig 2000-04-01 07:39:12.000000000 -0600
++++ util.cpp
+@@ -11,6 +11,7 @@
+ #else
+ #include <sys/time.h>
+ #endif
++#include <time.h>
+
+ // Function return the time since an arbitrary reference in
+ // 100ths of a second