]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - python/patches/00184-ctypes-should-build-with-libffi-multilib-wrapper.patch
python: Update to 2.7.5.
[people/stevee/ipfire-3.x.git] / python / patches / 00184-ctypes-should-build-with-libffi-multilib-wrapper.patch
1 --- Python-3.3.2/setup.py.orig 2013-07-01 15:23:24.377711044 +0200
2 +++ Python-3.3.2/setup.py 2013-07-01 15:23:34.094676496 +0200
3 @@ -1882,7 +1882,8 @@
4 if not line:
5 ffi_inc = None
6 break
7 - if line.startswith('#define LIBFFI_H'):
8 + if line.startswith('#define LIBFFI_H') or \
9 + line.startswith('#define ffi_wrapper_h'):
10 break
11 ffi_lib = None
12 if ffi_inc is not None: