summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-06-13 23:30:54 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-06-13 23:30:54 +0000
commit3529a2c9801ccb521cb06ee4747b7ec7510d3f98 (patch)
treeea80759550365d5e821b6bfa5106c9e891c448ae /games-strategy
parentVersion bump #181912 by Raul Porcel and move LESSOPEN to our env.d from basel... (diff)
downloadgentoo-2-3529a2c9801ccb521cb06ee4747b7ec7510d3f98.tar.gz
gentoo-2-3529a2c9801ccb521cb06ee4747b7ec7510d3f98.tar.bz2
gentoo-2-3529a2c9801ccb521cb06ee4747b7ec7510d3f98.zip
Fix compilation with new dev-libs/boost versions
(Portage version: 2.1.2.9)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/galaxyhack/ChangeLog6
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch11
-rw-r--r--games-strategy/galaxyhack/galaxyhack-1.69.ebuild6
3 files changed, 20 insertions, 3 deletions
diff --git a/games-strategy/galaxyhack/ChangeLog b/games-strategy/galaxyhack/ChangeLog
index f9e61bcd7575..342ad4e506c0 100644
--- a/games-strategy/galaxyhack/ChangeLog
+++ b/games-strategy/galaxyhack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/galaxyhack
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.3 2007/02/14 02:37:23 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.4 2007/06/13 23:30:54 nyhm Exp $
+
+ 13 Jun 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/galaxyhack-1.69-boost.patch, galaxyhack-1.69.ebuild:
+ Fix compilation with new dev-libs/boost versions
14 Feb 2007; Tristan Heaven <nyhm@gentoo.org> -files/galaxyhack.png,
galaxyhack-1.69.ebuild:
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch b/games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch
new file mode 100644
index 000000000000..c7fd49135dee
--- /dev/null
+++ b/games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch
@@ -0,0 +1,11 @@
+--- src/SetupBattle.cpp
++++ src/SetupBattle.cpp
+@@ -18,7 +18,7 @@
+ #include "PreBattle.h"
+
+ #include <sstream>
+-#include <boost/filesystem/exception.hpp>
++#include <boost/filesystem.hpp>
+
+ using std::stringstream;
+ using std::getline;
diff --git a/games-strategy/galaxyhack/galaxyhack-1.69.ebuild b/games-strategy/galaxyhack/galaxyhack-1.69.ebuild
index 6eca78ba4779..c78580ff3093 100644
--- a/games-strategy/galaxyhack/galaxyhack-1.69.ebuild
+++ b/games-strategy/galaxyhack/galaxyhack-1.69.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.2 2007/02/14 02:37:23 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.3 2007/06/13 23:30:54 nyhm Exp $
inherit eutils games
@@ -25,7 +25,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
edos2unix Makefile
- epatch "${FILESDIR}"/${P}-destdirs.patch
+ epatch \
+ "${FILESDIR}"/${P}-destdirs.patch \
+ "${FILESDIR}"/${P}-boost.patch
sed -i "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
Main.cpp \
|| die "sed Main.cpp failed"