diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-01-29 10:09:33 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-01-29 10:11:47 +0100 |
commit | 975e14469bf98d408eabbbc0fe71d4f6d4ad620a (patch) | |
tree | 43581b1f30d78a2d80491e0a2000cd52ee499402 /packages/python/files | |
parent | 7c823edcc811077836155878e889ac7a8ca09fc0 (diff) |
python: fix libffi building for mips. Should close #5001
Diffstat (limited to 'packages/python/files')
-rw-r--r-- | packages/python/files/06-libffi-enable-default-mips.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/python/files/06-libffi-enable-default-mips.patch b/packages/python/files/06-libffi-enable-default-mips.patch new file mode 100644 index 0000000000..b01f0c751d --- /dev/null +++ b/packages/python/files/06-libffi-enable-default-mips.patch @@ -0,0 +1,12 @@ +Index: Python-2.6.1/Modules/_ctypes/libffi/fficonfig.py.in +=================================================================== +--- Python-2.6.1.orig/Modules/_ctypes/libffi/fficonfig.py.in ++++ Python-2.6.1/Modules/_ctypes/libffi/fficonfig.py.in +@@ -5,6 +5,7 @@ src/prep_cif.c + ffi_platforms = { + 'MIPS_IRIX': ['src/mips/ffi.c', 'src/mips/o32.S', 'src/mips/n32.S'], + 'MIPS_LINUX': ['src/mips/ffi.c', 'src/mips/o32.S'], ++ 'MIPS': ['src/mips/ffi.c', 'src/mips/o32.S'], + 'X86': ['src/x86/ffi.c', 'src/x86/sysv.S'], + 'X86_FREEBSD': ['src/x86/ffi.c', 'src/x86/sysv.S'], + 'X86_WIN32': ['src/x86/ffi.c', 'src/x86/win32.S'], |