summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-04-04 07:50:09 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-04-04 07:50:09 +0000
commitc2933ee266aef0d5b6854d25aff02341cb628991 (patch)
tree1783cbfaecda2166c8a62f0ffb592c2b1d0f5ba9 /media-gfx/mypaint/files
parentarm/sparc stable (bug 337160) (diff)
downloadgentoo-2-c2933ee266aef0d5b6854d25aff02341cb628991.tar.gz
gentoo-2-c2933ee266aef0d5b6854d25aff02341cb628991.tar.bz2
gentoo-2-c2933ee266aef0d5b6854d25aff02341cb628991.zip
Version bump. Bug #361711
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/mypaint/files')
-rw-r--r--media-gfx/mypaint/files/mypaint-0.9.1-gentoo.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/mypaint/files/mypaint-0.9.1-gentoo.patch b/media-gfx/mypaint/files/mypaint-0.9.1-gentoo.patch
new file mode 100644
index 000000000000..9c0f884d752a
--- /dev/null
+++ b/media-gfx/mypaint/files/mypaint-0.9.1-gentoo.patch
@@ -0,0 +1,25 @@
+Index: mypaint-0.9.1/SConstruct
+===================================================================
+--- mypaint-0.9.1.orig/SConstruct
++++ mypaint-0.9.1/SConstruct
+@@ -70,6 +70,20 @@ if env.get('CPPDEFINES'):
+ if env['debug']:
+ env.Append(CPPDEFINES='HEAVY_DEBUG')
+ env.Append(CCFLAGS='-O0', LINKFLAGS='-O0')
++# Respect cxxflags,ldflags and cxx
++# Code found on
++# http://http://dev.gentoo.org/~vapier/scons-blows.txt
++import SCons.Util
++if os.environ.has_key('CC'):
++ env['CC'] = os.environ['CC']
++if os.environ.has_key('CFLAGS'):
++ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
++if os.environ.has_key('CXX'):
++ env['CXX'] = os.environ['CXX']
++if os.environ.has_key('CXXFLAGS'):
++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
++if os.environ.has_key('LDFLAGS'):
++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
+
+ Export('env', 'python')
+ module = SConscript('lib/SConscript')