python-crypto: remove host include path (#12592)
authorStephen Walker <stephendwalker@gmail.com>
Sun, 9 Dec 2012 20:31:38 +0000 (20:31 +0000)
committerStephen Walker <stephendwalker@gmail.com>
Sun, 9 Dec 2012 20:31:38 +0000 (20:31 +0000)
SVN-Revision: 34587

lang/python-crypto/patches/001-no-host-paths.patch [new file with mode: 0644]

diff --git a/lang/python-crypto/patches/001-no-host-paths.patch b/lang/python-crypto/patches/001-no-host-paths.patch
new file mode 100644 (file)
index 0000000..d481627
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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"]),