summaryrefslogtreecommitdiff
path: root/games/grhino
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-24 14:08:05 +0000
committerjoerg <joerg>2011-11-24 14:08:05 +0000
commitabdb2abe548ce3c2b135a2488acdaa9f4d034d50 (patch)
treeaac4838ebe3447a14f67aa77ce603a31c0b5c89f /games/grhino
parent8f63eeac588921811f7f4efc8e9598220a60826b (diff)
downloadpkgsrc-abdb2abe548ce3c2b135a2488acdaa9f4d034d50.tar.gz
Fix build with newer GCC
Diffstat (limited to 'games/grhino')
-rw-r--r--games/grhino/distinfo8
-rw-r--r--games/grhino/patches/patch-aiai.cc12
-rw-r--r--games/grhino/patches/patch-book.cc12
-rw-r--r--games/grhino/patches/patch-game.cc12
-rw-r--r--games/grhino/patches/patch-gen__book.cc12
-rw-r--r--games/grhino/patches/patch-gen__pattern.cc12
-rw-r--r--games/grhino/patches/patch-log__proc.h12
7 files changed, 79 insertions, 1 deletions
diff --git a/games/grhino/distinfo b/games/grhino/distinfo
index b3146c66c8c..135396b7f5f 100644
--- a/games/grhino/distinfo
+++ b/games/grhino/distinfo
@@ -1,6 +1,12 @@
-$NetBSD: distinfo,v 1.12 2008/04/27 06:36:02 wiz Exp $
+$NetBSD: distinfo,v 1.13 2011/11/24 14:08:05 joerg Exp $
SHA1 (grhino-0.16.0.tar.gz) = ca76895fc2370995e4942aec98e4359ce5549925
RMD160 (grhino-0.16.0.tar.gz) = f91415e5263eec3837a2a0cb06b610f0ba64668f
Size (grhino-0.16.0.tar.gz) = 1172321 bytes
SHA1 (patch-aa) = 762ad3cffe3ab40a070cdf89f06d5b302a963965
+SHA1 (patch-aiai.cc) = 01c99b4d16c9ead4a0c95c8e91a8111c59f9446d
+SHA1 (patch-book.cc) = a120f2c718c85666dfe6acd76bb3b49a8e5863fa
+SHA1 (patch-game.cc) = d6c0a2036653d1920f4b0ea9f770c00fd1718ada
+SHA1 (patch-gen__book.cc) = 9cefade318b76df658d0d5959cc6378f5275a971
+SHA1 (patch-gen__pattern.cc) = 90ef9ca71921e0a1bd86dcb5aacdad7a4d0aa360
+SHA1 (patch-log__proc.h) = 058fc9c9052a5126c0de137ad0087c667bb663c4
diff --git a/games/grhino/patches/patch-aiai.cc b/games/grhino/patches/patch-aiai.cc
new file mode 100644
index 00000000000..36f553ad3ad
--- /dev/null
+++ b/games/grhino/patches/patch-aiai.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-aiai.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+
+--- aiai.cc.orig 2011-11-24 01:17:40.000000000 +0000
++++ aiai.cc
+@@ -29,6 +29,7 @@
+ #include <sys/wait.h>
+ #include <unistd.h>
+ #include <string.h>
++#include <stdlib.h>
+
+ #include <exception>
+ #include <stdexcept>
diff --git a/games/grhino/patches/patch-book.cc b/games/grhino/patches/patch-book.cc
new file mode 100644
index 00000000000..27532135c15
--- /dev/null
+++ b/games/grhino/patches/patch-book.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-book.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+
+--- book.cc.orig 2011-11-24 01:11:40.000000000 +0000
++++ book.cc
+@@ -25,6 +25,7 @@
+ #include "rand.h"
+ #include "gtstream.h"
+
++#include <cstdlib>
+ #include <vector>
+ #include <iostream>
+ #include <stdexcept>
diff --git a/games/grhino/patches/patch-game.cc b/games/grhino/patches/patch-game.cc
new file mode 100644
index 00000000000..de3bbef5f1e
--- /dev/null
+++ b/games/grhino/patches/patch-game.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-game.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+
+--- game.cc.orig 2011-11-24 01:12:02.000000000 +0000
++++ game.cc
+@@ -37,6 +37,7 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <stdlib.h>
+
+ #ifdef _
+ # undef _
diff --git a/games/grhino/patches/patch-gen__book.cc b/games/grhino/patches/patch-gen__book.cc
new file mode 100644
index 00000000000..779b1f3d0e5
--- /dev/null
+++ b/games/grhino/patches/patch-gen__book.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-gen__book.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+
+--- gen_book.cc.orig 2011-11-24 01:15:36.000000000 +0000
++++ gen_book.cc
+@@ -20,6 +20,7 @@
+
+ #include "config.h"
+
++#include <cstring>
+ #include <fstream>
+ #include <sstream>
+
diff --git a/games/grhino/patches/patch-gen__pattern.cc b/games/grhino/patches/patch-gen__pattern.cc
new file mode 100644
index 00000000000..e514a32b77a
--- /dev/null
+++ b/games/grhino/patches/patch-gen__pattern.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-gen__pattern.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+
+--- gen_pattern.cc.orig 2011-11-24 01:16:59.000000000 +0000
++++ gen_pattern.cc
+@@ -23,6 +23,7 @@
+ #include <fstream>
+ #include <sstream>
+
++#include <string.h>
+ #include <math.h>
+ #include <unistd.h>
+ #include <fcntl.h>
diff --git a/games/grhino/patches/patch-log__proc.h b/games/grhino/patches/patch-log__proc.h
new file mode 100644
index 00000000000..ca789419ff9
--- /dev/null
+++ b/games/grhino/patches/patch-log__proc.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-log__proc.h,v 1.1 2011/11/24 14:08:05 joerg Exp $
+
+--- log_proc.h.orig 2011-11-24 01:12:41.000000000 +0000
++++ log_proc.h
+@@ -25,6 +25,7 @@
+ #include <string>
+ #include <fstream>
+ #include <iomanip>
++#include <cstdlib>
+
+ #include "board.h"
+ #include "order.h"