Blame SOURCES/00184-ctypes-should-build-with-libffi-multilib-wrapper.patch

ae2451
diff -up Python-2.7.5/setup.py.orig Python-2.7.5/setup.py
ae2451
--- Python-2.7.5/setup.py.orig	2013-07-17 15:20:12.086820082 +0200
ae2451
+++ Python-2.7.5/setup.py	2013-07-17 15:21:28.490023903 +0200
ae2451
@@ -2050,7 +2050,8 @@ class PyBuildExt(build_ext):
ae2451
                 if not line:
ae2451
                     ffi_inc = None
ae2451
                     break
ae2451
-                if line.startswith('#define LIBFFI_H'):
ae2451
+                if line.startswith('#define LIBFFI_H') or \
ae2451
+                   line.startswith('#define ffi_wrapper_h'):
ae2451
                     break
ae2451
         ffi_lib = None
ae2451
         if ffi_inc is not None: