aboutsummaryrefslogtreecommitdiffstats
path: root/games/grhino
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-27 06:42:43 +0800
committermarino <marino@FreeBSD.org>2015-03-27 06:42:43 +0800
commit3990003806f70dfa8c675d2404ca4c98f4aca600 (patch)
treedbc3a1263dee0de3eb54b69b7d1e2d05683021b6 /games/grhino
parent10ba65f33d01dd686cf92b196ecc83acd7cbc826 (diff)
downloadfreebsd-ports-gnome-3990003806f70dfa8c675d2404ca4c98f4aca600.tar.gz
freebsd-ports-gnome-3990003806f70dfa8c675d2404ca4c98f4aca600.tar.zst
freebsd-ports-gnome-3990003806f70dfa8c675d2404ca4c98f4aca600.zip
games/ghrino: Fix on modern gcc
Patches taken from dports, which were taken from pkgsrc. The port is not maintained.
Diffstat (limited to 'games/grhino')
-rw-r--r--games/grhino/files/patch-fix-headers56
1 files changed, 56 insertions, 0 deletions
diff --git a/games/grhino/files/patch-fix-headers b/games/grhino/files/patch-fix-headers
new file mode 100644
index 000000000000..060f530029b1
--- /dev/null
+++ b/games/grhino/files/patch-fix-headers
@@ -0,0 +1,56 @@
+$NetBSD: patch-aiai.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+$NetBSD: patch-game.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+$NetBSD: patch-gen__book.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+$NetBSD: patch-gen__pattern.cc,v 1.1 2011/11/24 14:08:05 joerg Exp $
+$NetBSD: patch-log__proc.h,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>
+--- 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 _
+--- 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>
+
+--- 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>
+--- 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"