summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-11-28 19:02:20 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-11-28 19:02:20 +0000
commit2801149533e6e36232d5fd1f850bf0c9e509f339 (patch)
treecf0238e6275671d6799782a8c638f7d94d8465dd /games-action/rafkill/files
parentNew ebuild from William Pitcock in bug 150542 (comment 28). Drops SSL support. (diff)
downloadgentoo-2-2801149533e6e36232d5fd1f850bf0c9e509f339.tar.gz
gentoo-2-2801149533e6e36232d5fd1f850bf0c9e509f339.tar.bz2
gentoo-2-2801149533e6e36232d5fd1f850bf0c9e509f339.zip
Fix sandbox errors, bug #156522
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'games-action/rafkill/files')
-rw-r--r--games-action/rafkill/files/rafkill-1.2.2-build.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/games-action/rafkill/files/rafkill-1.2.2-build.patch b/games-action/rafkill/files/rafkill-1.2.2-build.patch
index ca8e0c283680..f894c8ce9c10 100644
--- a/games-action/rafkill/files/rafkill-1.2.2-build.patch
+++ b/games-action/rafkill/files/rafkill-1.2.2-build.patch
@@ -1,10 +1,11 @@
--- SConstruct
+++ SConstruct
-@@ -46,7 +46,11 @@
+@@ -46,7 +46,12 @@
# print "Install directory = $prefix"
# print "Directory where symlinked binary will go = $bin"
-flags = [ '-g3', '-Wall', '-fno-rtti', '-Woverloaded-virtual', '-O2', '-DINSTALL_DIR=\\\"$prefix\\\"' ];
++SConsignFile()
+env.Replace(CXX = os.environ['CXX'])
+if os.environ.get('CXXFLAGS'):
+ env.Replace(CPPFLAGS = os.environ['CXXFLAGS'])