diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-09-22 10:51:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-22 04:50:09 +0100 |
commit | a502a1848460b2cc79b2eca4af803953fc85e4d5 (patch) | |
tree | da211a1b3764a6275f869cdc46158ecc27f75e0b /meta/recipes-gnome/libglade/libglade-2.6.4 | |
parent | ee6e30adc38129096bd698b5ae2618c4b6b51717 (diff) | |
download | ast2050-yocto-poky-a502a1848460b2cc79b2eca4af803953fc85e4d5.zip ast2050-yocto-poky-a502a1848460b2cc79b2eca4af803953fc85e4d5.tar.gz |
libglade: fix the python environment settings
@PYTHON@ will points to the abstract path in sysroot, which should be
replaced by "#!/usr/bin/env python".
This should fix the sato-sdk rootfs error.
(From OE-Core rev: 51cd0bdf1fad230e919392db8c72afe2d9e21fdb)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/libglade/libglade-2.6.4')
-rw-r--r-- | meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch b/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch new file mode 100644 index 0000000..b4ca49d --- /dev/null +++ b/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch @@ -0,0 +1,14 @@ +Using @PYTHON@ for this path would result in the build system python being +referred to. Instead we want to locate python from the environment. + +Upstream Status: Inappropriate [configuration] + +diff -ruN libglade-2.6.4-orig//libglade-convert.in libglade-2.6.4/libglade-convert.in +--- libglade-2.6.4-orig//libglade-convert.in 2011-09-22 10:18:28.991164003 +0800 ++++ libglade-2.6.4/libglade-convert.in 2011-09-22 10:18:55.431164003 +0800 +@@ -1,4 +1,4 @@ +-#!@PYTHON@ ++#!/usr/bin/env python + # -*- mode: python -*- + + # yes, this requires python 2.x and an XML parser module (eg. PyExpat) |