From 51cd0bdf1fad230e919392db8c72afe2d9e21fdb Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Thu, 22 Sep 2011 10:51:22 +0800 Subject: 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. Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- .../libglade/libglade-2.6.4/python_environment.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch (limited to 'meta/recipes-gnome/libglade/libglade-2.6.4') 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 000000000..b4ca49de2 --- /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) -- cgit v1.2.3