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

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