diff options
author | rh <rh@pkgsrc.org> | 2003-03-16 03:56:27 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2003-03-16 03:56:27 +0000 |
commit | f5ad8eed119b96d092174552272edae73050318f (patch) | |
tree | 4f18703c29dd2a821c85c24a2fd4f1060ad56569 /games/ccgo/patches | |
parent | 12f3925935f38ddad2b82a60fdd2dc3f29d8377e (diff) | |
download | pkgsrc-f5ad8eed119b96d092174552272edae73050318f.tar.gz |
Initial import of ccgo-0.3.1, a Go board with IGS and gnugo interface
Diffstat (limited to 'games/ccgo/patches')
-rw-r--r-- | games/ccgo/patches/patch-aa | 9 | ||||
-rw-r--r-- | games/ccgo/patches/patch-ab | 21 | ||||
-rw-r--r-- | games/ccgo/patches/patch-ac | 12 | ||||
-rw-r--r-- | games/ccgo/patches/patch-ad | 21 | ||||
-rw-r--r-- | games/ccgo/patches/patch-ae | 15 |
5 files changed, 78 insertions, 0 deletions
diff --git a/games/ccgo/patches/patch-aa b/games/ccgo/patches/patch-aa new file mode 100644 index 00000000000..dd66a800693 --- /dev/null +++ b/games/ccgo/patches/patch-aa @@ -0,0 +1,9 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/03/16 03:56:27 rh Exp $ + +--- igs/datetime.cc.orig 2002-11-22 01:29:41.000000000 +1000 ++++ igs/datetime.cc +@@ -1,3 +1,4 @@ ++#include <time.h> + #define _XOPEN_SOURCE + #define _GNU_SOURCE + #include <ctime> diff --git a/games/ccgo/patches/patch-ab b/games/ccgo/patches/patch-ab new file mode 100644 index 00000000000..67bb016d948 --- /dev/null +++ b/games/ccgo/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/03/16 03:56:27 rh Exp $ + +--- igs/fork.cc.orig 2002-11-24 02:49:32.000000000 +1000 ++++ igs/fork.cc +@@ -15,6 +15,7 @@ extern "C" { + #include <sys/fcntl.h> + #include <sys/wait.h> + #include <unistd.h> ++#include <signal.h> + } + + using namespace igs; +@@ -143,7 +144,7 @@ bool Fork::open_conn(const std::string & + close(c2p[0]); + close(c2p[1]); + close(2); // close cerr +- char * shell = "/bin/bash"; ++ char * shell = "/bin/sh"; + std::string c = std::string ("exec ") + n; + execl(shell, shell, "-c", c.c_str(), 0); + std::cerr << "Fail to fork: " << n << std::endl; diff --git a/games/ccgo/patches/patch-ac b/games/ccgo/patches/patch-ac new file mode 100644 index 00000000000..ab6eeb7fd04 --- /dev/null +++ b/games/ccgo/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/03/16 03:56:27 rh Exp $ + +--- igs/sock.cc.orig 2002-11-27 07:35:46.000000000 +1000 ++++ igs/sock.cc +@@ -16,6 +16,7 @@ extern "C" { + #include <sys/socket.h> + #include <unistd.h> + #include <netdb.h> ++#include <netinet/in.h> + } + #include <cerrno> + diff --git a/games/ccgo/patches/patch-ad b/games/ccgo/patches/patch-ad new file mode 100644 index 00000000000..2f2d1d33dfe --- /dev/null +++ b/games/ccgo/patches/patch-ad @@ -0,0 +1,21 @@ +$NetBSD: patch-ad,v 1.1.1.1 2003/03/16 03:56:28 rh Exp $ + +--- gmp/device.cc.orig 2002-10-31 07:25:00.000000000 +1000 ++++ gmp/device.cc +@@ -14,6 +14,7 @@ extern "C" { + #include <sys/fcntl.h> + #include <sys/wait.h> + #include <unistd.h> ++#include <signal.h> + } + + using namespace gmp; +@@ -356,7 +357,7 @@ bool Device::fork_child(const std::strin + close(c2p[0]); + close(c2p[1]); + // close(2); // close cerr +- char * shell = "/bin/bash"; ++ char * shell = "/bin/sh"; + std::string c = std::string("exec ") + n; + execl(shell, shell, "-c", c.c_str(), 0); + // exec failed! diff --git a/games/ccgo/patches/patch-ae b/games/ccgo/patches/patch-ae new file mode 100644 index 00000000000..97df83e6a15 --- /dev/null +++ b/games/ccgo/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1.1.1 2003/03/16 03:56:28 rh Exp $ + +--- ccgo.cc.orig 2002-11-30 02:31:16.000000000 +1000 ++++ ccgo.cc +@@ -25,6 +25,10 @@ + #include <iostream> + #include <fstream> + ++extern "C" { ++#include <locale.h> ++} ++ + #define _(String) Glib::locale_to_utf8(gettext(String)) + + class ccGo : |