vapier      15/05/16 07:19:17

  Added:                pycrypto-2.6.1-cross-compile.patch
  Log:
  Fix from Chromium OS for cross-compiling.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  
dev-python/pycrypto/files/pycrypto-2.6.1-cross-compile.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycrypto/files/pycrypto-2.6.1-cross-compile.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycrypto/files/pycrypto-2.6.1-cross-compile.patch?rev=1.1&content-type=text/plain

Index: pycrypto-2.6.1-cross-compile.patch
===================================================================
do not hardcode -I/usr/include as it's useless and breaks cross-compiles

--- a/setup.py
+++ b/setup.py
@@ -370,7 +370,7 @@ kw = {'name':"pycrypto",
       'ext_modules': plat_ext + [
             # _fastmath (uses GNU mp library)
             Extension("Crypto.PublicKey._fastmath",
-                      include_dirs=['src/','/usr/include/'],
+                      include_dirs=['src/'],
                       libraries=['gmp'],
                       sources=["src/_fastmath.c"]),
 




Reply via email to