summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python/07-linux3-regen-fix.patch')
-rw-r--r--meta/recipes-devtools/python/python/07-linux3-regen-fix.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/recipes-devtools/python/python/07-linux3-regen-fix.patch b/meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
deleted file mode 100644
index d7fb313cc7..0000000000
--- a/meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Without this patch it calls cross-compiled python if host is running linux-3.0
4python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
5| ./regen: line 3: /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/python-2.6.6-nk2.8/Python-2.6.6/python: cannot execute binary file
6
7diff -uNr Python-2.6.6.orig//Lib/plat-linux3/regen Python-2.6.6/Lib/plat-linux3/regen
8--- Python-2.6.6.orig//Lib/plat-linux3/regen 1970-01-01 01:00:00.000000000 +0100
9+++ Python-2.6.6/Lib/plat-linux3/regen 2001-08-09 14:48:17.000000000 +0200
10@@ -0,0 +1,8 @@
11+#! /bin/sh
12+case `uname` in
13+Linux*) ;;
14+*) echo Probably not on a Linux system 1>&2
15+ exit 1;;
16+esac
17+set -v
18+h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h