[packages] python-crypto: remove host include path (#12592)
authorswalker <swalker@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 Dec 2012 20:31:38 +0000 (20:31 +0000)
committerswalker <swalker@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 Dec 2012 20:31:38 +0000 (20:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34587 3c298f89-4303-0410-b956-a3cf2f4a3e73

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"]),