summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch')
-rw-r--r--meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch14
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..b5b2ec4
--- /dev/null
+++ b/meta/recipes-gnome/libglade/libglade-2.6.4/python_environment.patch
@@ -0,0 +1,14 @@
1Using @PYTHON@ for this path would result in the build system python being
2referred to. Instead we want to locate python from the environment.
3
4Upstream-Status: Inappropriate [configuration]
5
6diff -ruN libglade-2.6.4-orig//libglade-convert.in libglade-2.6.4/libglade-convert.in
7--- libglade-2.6.4-orig//libglade-convert.in 2011-09-22 10:18:28.991164003 +0800
8+++ libglade-2.6.4/libglade-convert.in 2011-09-22 10:18:55.431164003 +0800
9@@ -1,4 +1,4 @@
10-#!@PYTHON@
11+#!/usr/bin/env python
12 # -*- mode: python -*-
13
14 # yes, this requires python 2.x and an XML parser module (eg. PyExpat)