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

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