summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-01-15 19:49:49 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-01-15 19:49:49 +0000
commite45f7fef6d156bf80036dd19e2d26c72f60d497e (patch)
treecc1719f6ad3616cab489ebe82d0cdf954e2bc56c /media-gfx/mypaint/files
parentUpdate git repo. Add virtualx eclass for tests. Bug #451328. Thanks to Jan Ku... (diff)
downloadhistorical-e45f7fef6d156bf80036dd19e2d26c72f60d497e.tar.gz
historical-e45f7fef6d156bf80036dd19e2d26c72f60d497e.tar.bz2
historical-e45f7fef6d156bf80036dd19e2d26c72f60d497e.zip
Version bump. Bug #450316. Thanks to Alexander Soloviëv <no.friday@yandex.ru>
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64 Manifest-Sign-Key: 0xB4AFF2C2
Diffstat (limited to 'media-gfx/mypaint/files')
-rw-r--r--media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch b/media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch
new file mode 100644
index 000000000000..641ace05ea57
--- /dev/null
+++ b/media-gfx/mypaint/files/mypaint-1.1.0-gentoo.patch
@@ -0,0 +1,36 @@
+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')