diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-05-02 18:50:07 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-05-02 18:50:07 +0000 |
commit | 25bd5603fedc477f4a1d06ba39b4c8d55262ef35 (patch) | |
tree | 10c6587d205852a79ef4001b9f6786933e3c47ee /games-board/grhino/files | |
parent | Bump to 2.22.1.1 (diff) | |
download | gentoo-2-25bd5603fedc477f4a1d06ba39b4c8d55262ef35.tar.gz gentoo-2-25bd5603fedc477f4a1d06ba39b4c8d55262ef35.tar.bz2 gentoo-2-25bd5603fedc477f4a1d06ba39b4c8d55262ef35.zip |
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-board/grhino/files')
-rw-r--r-- | games-board/grhino/files/grhino-0.16.0-gcc43.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games-board/grhino/files/grhino-0.16.0-gcc43.patch b/games-board/grhino/files/grhino-0.16.0-gcc43.patch new file mode 100644 index 000000000000..e0477a20337b --- /dev/null +++ b/games-board/grhino/files/grhino-0.16.0-gcc43.patch @@ -0,0 +1,30 @@ +--- book.cc ++++ book.cc +@@ -28,6 +28,7 @@ + #include <vector> + #include <iostream> + #include <stdexcept> ++#include <cstdlib> + + #ifdef _ + #undef _ +--- game.cc ++++ game.cc +@@ -37,6 +37,7 @@ + #include <sys/stat.h> + #include <unistd.h> + #include <fcntl.h> ++#include <cstdlib> + + #ifdef _ + # undef _ +--- log_proc.h ++++ log_proc.h +@@ -25,6 +25,7 @@ + #include <string> + #include <fstream> + #include <iomanip> ++#include <cstdlib> + + #include "board.h" + #include "order.h" |