summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-04-29 22:17:57 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-04-29 22:17:57 +0000
commit6ce39015ac5a5e70c6748ae108f9cb0ed2176b6f (patch)
tree5c0404e0ef9d90d6d81be2e7c83ea15b76c3e39e /games-board/pouetchess
parentVersion bump (diff)
downloadgentoo-2-6ce39015ac5a5e70c6748ae108f9cb0ed2176b6f.tar.gz
gentoo-2-6ce39015ac5a5e70c6748ae108f9cb0ed2176b6f.tar.bz2
gentoo-2-6ce39015ac5a5e70c6748ae108f9cb0ed2176b6f.zip
Fix scons sandbox violation again, bug #176461
(Portage version: 2.1.2.5)
Diffstat (limited to 'games-board/pouetchess')
-rw-r--r--games-board/pouetchess/ChangeLog6
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch7
2 files changed, 8 insertions, 5 deletions
diff --git a/games-board/pouetchess/ChangeLog b/games-board/pouetchess/ChangeLog
index 12b2f98a49dd..915904c682ba 100644
--- a/games-board/pouetchess/ChangeLog
+++ b/games-board/pouetchess/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/pouetchess
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/ChangeLog,v 1.5 2007/03/12 13:51:29 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pouetchess/ChangeLog,v 1.6 2007/04/29 22:17:57 nyhm Exp $
+
+ 29 Apr 2007; Tristan Heaven <nyhm@gentoo.org>
+ files/pouetchess-0.2.0-sconstruct-sandbox.patch:
+ Fix scons sandbox violation again, bug #176461
12 Mar 2007; Marius Mauch <genone@gentoo.org> pouetchess-0.2.0.ebuild:
Replacing einfo with elog
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch b/games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch
index c33c9164787c..cea3a5a451af 100644
--- a/games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch
+++ b/games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch
@@ -1,6 +1,6 @@
--- SConstruct
+++ SConstruct
-@@ -22,14 +22,25 @@
+@@ -22,14 +22,24 @@
@@ -12,13 +12,12 @@
# create build environment
++env = Environment()
++env.SConsignFile()
env = Environment(tools = ['default', 'pouetChess'], toolpath = ['.'])
-env.AppendUnique(CXXFLAGS = ['-Wall'])
-+env.SConsignFile()
-+
+env['CC'] = os.environ['CC']
+env['CXX'] = os.environ['CXX']
-+
+if os.environ.has_key('CFLAGS'):
+ env['CCFLAGS'] = SCons.Util.CLVar(os.environ['CFLAGS'])
+if os.environ.has_key('CXXFLAGS'):