summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch28
-rw-r--r--meta/recipes-devtools/python/python-pygobject/generate-constants.patch20
2 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch b/meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch
deleted file mode 100644
index 1cb8fea50f..0000000000
--- a/meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Upstream-Status: Accepted [http://hg.python.org/cpython/rev/c816479f6aaf/]
2Bugtracker: http://bugs.python.org/issue12326
3
4[Removed "Misc/NEWS" hunk]
5
6Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7
8# HG changeset patch
9# User Victor Stinner <victor.stinner@haypocalc.com>
10# Date 1313841758 -7200
11# Node ID c816479f6aaf71dbd3f3fe4b239186d60c55ce48
12# Parent 3e093590ac57fdda428c7da3f72ddf0c475ecf2b
13Issue #12326: sys.platform is now always 'linux2' on Linux
14
15Even if Python is compiled on Linux 3.
16
17diff --git a/configure.in b/configure.in
18--- a/configure.in
19+++ b/configure.in
20@@ -293,6 +293,7 @@ then
21 MACHDEP="$ac_md_system$ac_md_release"
22
23 case $MACHDEP in
24+ linux*) MACHDEP="linux2";;
25 cygwin*) MACHDEP="cygwin";;
26 darwin*) MACHDEP="darwin";;
27 atheos*) MACHDEP="atheos";;
28
diff --git a/meta/recipes-devtools/python/python-pygobject/generate-constants.patch b/meta/recipes-devtools/python/python-pygobject/generate-constants.patch
deleted file mode 100644
index be2ecd3b7c..0000000000
--- a/meta/recipes-devtools/python/python-pygobject/generate-constants.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1Upstream-Status: Pending
2
3Index: pygobject-2.14.2/gobject/Makefile.am
4===================================================================
5--- pygobject-2.14.2.orig/gobject/Makefile.am
6+++ pygobject-2.14.2/gobject/Makefile.am
7@@ -21,11 +21,11 @@ if PLATFORM_WIN32
8 common_ldflags += -no-undefined
9 endif
10
11-constants.py: generate-constants$(EXEEXT) constants.py.in
12+constants.py: constants.py.in
13 rm -f constants.py
14 cp $(srcdir)/constants.py.in constants.py
15 chmod 644 constants.py
16- $(top_builddir)/gobject/generate-constants$(EXEEXT) >> constants.py
17+ gobject-generate-constants$(EXEEXT) >> constants.py
18 chmod 444 constants.py
19
20 generate_constants_CFLAGS = $(GLIB_CFLAGS)