diff options
author | Pacho Ramos <pacho@gentoo.org> | 2017-01-15 11:39:35 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2017-01-15 12:18:37 +0100 |
commit | ee4b42d3cfb015d1e0fd5dd5c52a2b3e7cd7be87 (patch) | |
tree | f38c0c0f5a1224fa1f63984b58f36baa17be18ec /media-gfx/mypaint/files | |
parent | media-gfx/mirage: Drop old (diff) | |
download | gentoo-ee4b42d3cfb015d1e0fd5dd5c52a2b3e7cd7be87.tar.gz gentoo-ee4b42d3cfb015d1e0fd5dd5c52a2b3e7cd7be87.tar.bz2 gentoo-ee4b42d3cfb015d1e0fd5dd5c52a2b3e7cd7be87.zip |
media-gfx/mypaint: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-gfx/mypaint/files')
-rw-r--r-- | media-gfx/mypaint/files/mypaint-0.9.1-gentoo.patch | 25 | ||||
-rw-r--r-- | media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch | 36 |
2 files changed, 0 insertions, 61 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 deleted file mode 100644 index 9c0f884d752a..000000000000 --- a/media-gfx/mypaint/files/mypaint-0.9.1-gentoo.patch +++ /dev/null @@ -1,25 +0,0 @@ -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') diff --git a/media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch b/media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch deleted file mode 100644 index 641ace05ea57..000000000000 --- a/media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -ru mypaint-1.1.0-orig/desktop/mypaint.desktop mypaint-1.1.0/desktop/mypaint.desktop ---- mypaint-1.1.0-orig/desktop/mypaint.desktop 2012-12-31 21:03:38.000000000 +0400 -+++ mypaint-1.1.0/desktop/mypaint.desktop 2013-01-06 15:21:11.468785464 +0400 -@@ -1,6 +1,5 @@ - [Desktop Entry] - Version=1.0 --Encoding=UTF-8 - Name=MyPaint - TryExec=mypaint - Exec=mypaint %f -diff -ru mypaint-1.1.0-orig/SConstruct mypaint-1.1.0/SConstruct ---- mypaint-1.1.0-orig/SConstruct 2012-12-31 21:03:38.000000000 +0400 -+++ mypaint-1.1.0/SConstruct 2013-01-06 15:20:17.640771176 +0400 -@@ -1,6 +1,7 @@ - import os, sys - from os.path import join, basename - from SCons.Script.SConscript import SConsEnvironment -+from SCons.Util import CLVar - - EnsureSConsVersion(1, 0) - -@@ -75,6 +76,14 @@ - - env.Append(RPATH = env.Literal(os.path.join('\\$$ORIGIN'))) - -+for key in ['CC', 'CXX']: -+ if os.environ.has_key(key): -+ env[key] = os.environ[key] -+ -+for key in ['CFLAGS', 'CXXFLAGS']: -+ if os.environ.has_key(key): -+ env[key] += CLVar(os.environ[key]) -+ - # remove libraries produced by earlier versions, which are actually - # being used if they keep lying around, leading to mysterious bugs - env.Execute('rm -f libmypaint-tests.so libmypaint.so libmypaintlib.so') |