summaryrefslogtreecommitdiff
path: root/packages/python/python-native-2.3.3/cross-distutils.patch
blob: 76ae883c1d694322b5ed05c9bf79446b805d619c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- Python-2.3.3/Lib/distutils/sysconfig.py~cross-distutils	2003-02-10 15:02:33.000000000 +0100
+++ Python-2.3.3/Lib/distutils/sysconfig.py	2004-03-02 20:15:05.000000000 +0100
@@ -19,8 +19,8 @@
 from errors import DistutilsPlatformError
 
 # These are needed in a couple of spots, so just compute them once.
-PREFIX = os.path.normpath(sys.prefix)
-EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
+PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
+EXEC_PREFIX = os.path.normpath(sys.exec_prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
 
 # python_build: (Boolean) if true, we're either building Python or
 # building an extension with an un-installed Python, so we use
@@ -192,7 +192,8 @@
     else:
         # The name of the config.h file changed in 2.2
         config_h = 'pyconfig.h'
-    return os.path.join(inc_dir, config_h)
+    print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded"
+    return os.path.join(inc_dir, config_h).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
 
 
 def get_makefile_filename():
@@ -200,7 +201,8 @@
     if python_build:
         return os.path.join(os.path.dirname(sys.executable), "Makefile")
     lib_dir = get_python_lib(plat_specific=1, standard_lib=1)
-    return os.path.join(lib_dir, "config", "Makefile")
+    print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded"
+    return os.path.join(lib_dir, "config", "Makefile").replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
 
 
 def parse_config_h(fp, g=None):
/diff/packages/abiword/abiword-embedded_2.4.6.bb?id2=8cceec03812e487d023a132f0e6f4ba7dbdbdce0'>packages/abiword/abiword-embedded_2.4.6.bb12
-rw-r--r--packages/abiword/abiword-plugins_2.4.5.bb26
-rw-r--r--packages/abiword/abiword-plugins_2.4.6.bb25
-rw-r--r--packages/abiword/abiword.inc48
-rw-r--r--packages/abiword/abiword_2.4.5.bb4
-rw-r--r--packages/abiword/abiword_2.4.6.bb4
-rw-r--r--packages/abiword/abiword_2.5.1.bb7
-rw-r--r--packages/abiword/files/.mtn2git_empty0
-rw-r--r--packages/abiword/files/abiword-plugin-pdf-poppler.patch11
-rwxr-xr-xpackages/abiword/files/cdump.pl32
-rw-r--r--packages/abuse/.mtn2git_empty0
-rw-r--r--packages/abuse/abuse_0.7.0.bb11
-rw-r--r--packages/acct/.mtn2git_empty0
-rw-r--r--packages/acct/acct_6.3.99+6.4pre1.bb9
-rw-r--r--packages/acct/files/.mtn2git_empty0
-rw-r--r--packages/acct/files/cross-compile.patch34
-rw-r--r--packages/acpid/.mtn2git_empty0
-rw-r--r--packages/acpid/acpid-1.0.2/.mtn2git_empty0
-rw-r--r--packages/acpid/acpid-1.0.3/.mtn2git_empty0
-rw-r--r--packages/acpid/acpid-1.0.3/gcc40.patch13
-rw-r--r--packages/acpid/acpid-1.0.4/.mtn2git_empty0
-rw-r--r--packages/acpid/acpid-1.0.4/gcc40.patch13
-rw-r--r--packages/acpid/acpid.inc32
-rw-r--r--packages/acpid/acpid_1.0.2.bb3
-rw-r--r--packages/acpid/acpid_1.0.3.bb4
-rw-r--r--packages/acpid/acpid_1.0.4.bb4
-rw-r--r--packages/acpid/files/.mtn2git_empty0
-rwxr-xr-xpackages/acpid/files/init26
-rw-r--r--packages/addons/.mtn2git_empty0
-rw-r--r--packages/addons/devshell.bb75
-rw-r--r--packages/adns/.mtn2git_empty0
-rw-r--r--packages/adns/adns-1.0/.mtn2git_empty0
-rw-r--r--packages/adns/adns-1.0/configure.patch137
-rw-r--r--packages/adns/adns-1.0/fixparsedomainflags.patch11
-rw-r--r--packages/adns/adns_1.0.bb30
-rw-r--r--packages/aiostress/.mtn2git_empty0
-rw-r--r--packages/aiostress/aiostress_0.0.bb17
-rw-r--r--packages/aircrack/.mtn2git_empty0
-rw-r--r--packages/aircrack/aircrack-ng_0.7.bb25
-rw-r--r--packages/aircrack/aircrack_2.1.bb22
-rw-r--r--packages/aircrack/aircrack_2.41.bb24
-rw-r--r--packages/aircrack/files/.mtn2git_empty0
-rw-r--r--packages/aircrack/files/oe.patch10
-rw-r--r--packages/aircrack/files/silent_patch.diff87
-rw-r--r--packages/albumshaper/.mtn2git_empty0
-rw-r--r--packages/albumshaper/albumshaper_2.1.bb18
-rw-r--r--packages/albumshaper/files/.mtn2git_empty0
-rw-r--r--packages/albumshaper/files/fixpaths.patch53
-rw-r--r--packages/aliens/.mtn2git_empty0
-rw-r--r--packages/aliens/aliens_1.0.0.bb21
-rw-r--r--packages/alp/.mtn2git_empty0
-rw-r--r--packages/alp/hiker_0.9.bb24
-rw-r--r--packages/alsa/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-driver/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-driver/adriver.h.patch23
-rw-r--r--packages/alsa/alsa-driver/h5400.patch12
-rw-r--r--packages/alsa/alsa-driver/sa11xx.patch38
-rw-r--r--packages/alsa/alsa-driver/sound.p.patch59
-rw-r--r--packages/alsa/alsa-driver_0.9.6-hh4c.bb83
-rw-r--r--packages/alsa/alsa-lib/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-lib/fix-tstamp-declaration.patch13
-rw-r--r--packages/alsa/alsa-lib_1.0.11.bb41
-rw-r--r--packages/alsa/alsa-lib_1.0.13.bb42
-rw-r--r--packages/alsa/alsa-oss_1.0.11.bb19
-rw-r--r--packages/alsa/alsa-state.bb50
-rw-r--r--packages/alsa/alsa-state/.mtn2git_empty0
-rwxr-xr-xpackages/alsa/alsa-state/alsa-state29
-rw-r--r--packages/alsa/alsa-state/asound.state1
-rw-r--r--packages/alsa/alsa-state/fic-gta01/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-state/fic-gta01/asound.state900
-rw-r--r--packages/alsa/alsa-utils_1.0.11.bb55
-rw-r--r--packages/alsa/alsa-utils_1.0.13.bb56
-rw-r--r--packages/alsa/files/.mtn2git_empty0
-rw-r--r--packages/alsa/files/alsa-utils-sys-siglist.patch15
-rw-r--r--packages/altboot/.mtn2git_empty0
-rw-r--r--packages/altboot/altboot_0.0.0.bb95
-rw-r--r--packages/altboot/altboot_1.0.5.bb154
-rw-r--r--packages/altboot/altboot_1.0.8.bb92
-rw-r--r--packages/altboot/altboot_1.1.1+wip-20061123.bb99
-rw-r--r--packages/altboot/altboot_wip.bb99
-rw-r--r--packages/altboot/files/.mtn2git_empty0
-rw-r--r--packages/altboot/files/akita/.mtn2git_empty0
-rw-r--r--packages/altboot/files/akita/altboot-2.4.cfg31
-rw-r--r--packages/altboot/files/akita/altboot-2.6.cfg41
-rw-r--r--packages/altboot/files/altboot-menu/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot-menu/00-Default14
-rw-r--r--packages/altboot/files/altboot-menu/10-noGui14
-rw-r--r--packages/altboot/files/altboot-menu/15-bootSD32
-rw-r--r--packages/altboot/files/altboot-menu/20-bootCF32
-rw-r--r--packages/altboot/files/altboot-menu/99-ownScripts-example68
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick47
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/40-bootNFS110
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/55-bin-sh27
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/60-orig-init20
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/70-install-tgz264
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/70-setKernel68
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/80-configure-kexec248
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/80-copyrootfs323
-rw-r--r--packages/altboot/files/altboot.func870
-rw-r--r--packages/altboot/files/altboot.rc/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot.rc/Readme.txt2
-rw-r--r--packages/altboot/files/altboot.rc/disable_printk.sh6
-rw-r--r--packages/altboot/files/altboot.rc/loadkeymap.sh8
-rw-r--r--packages/altboot/files/altboot.rc/playbeep.sh34
-rwxr-xr-xpackages/altboot/files/altbootctl311
-rw-r--r--packages/altboot/files/altbootctl.conf98
-rw-r--r--packages/altboot/files/beep.raw1
-rw-r--r--packages/altboot/files/c7x0/.mtn2git_empty0
-rw-r--r--packages/altboot/files/c7x0/altboot-2.4.cfg30
-rw-r--r--packages/altboot/files/c7x0/altboot-2.6.cfg39
-rw-r--r--packages/altboot/files/collie/.mtn2git_empty0
-rw-r--r--packages/altboot/files/collie/altboot-2.4.cfg26
-rw-r--r--packages/altboot/files/fic-gta01/.mtn2git_empty0
-rw-r--r--packages/altboot/files/fic-gta01/altboot-2.6.cfg41
-rw-r--r--packages/altboot/files/fic-gta01/altboot-menu/.mtn2git_empty0
-rw-r--r--packages/altboot/files/fic-gta01/altboot-menu/00-Default14
-rw-r--r--packages/altboot/files/fic-gta01/altboot-menu/15-bootSD32
-rw-r--r--packages/altboot/files/fic-gta01/altboot-menu/Advanced/.mtn2git_empty0
-rw-r--r--packages/altboot/files/fic-gta01/altboot-menu/Advanced/40-bootNFS110
-rw-r--r--packages/altboot/files/init.altboot582
-rw-r--r--packages/altboot/files/poodle/.mtn2git_empty0
-rw-r--r--packages/altboot/files/poodle/altboot-2.4.cfg26
-rw-r--r--packages/altboot/files/poodle/altboot-2.6.cfg45
-rw-r--r--packages/altboot/files/spitz/.mtn2git_empty0
-rw-r--r--packages/altboot/files/spitz/altboot-2.6.cfg41