Fixes so that libcros can compile on ARM. We update to a newer version of
dev-python/numpy which cross-compiles OK. We also take the pygobject from
the OpenMoko Gentoo project that has a fix for cross compiling. With these,
libcros is able to cross compile.
Review URL: http://codereview.chromium.org/661443
diff --git a/dev-python/numpy/files/numpy-1.4.0-interix.patch b/dev-python/numpy/files/numpy-1.4.0-interix.patch
new file mode 100644
index 0000000..244737f
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.4.0-interix.patch
@@ -0,0 +1,15 @@
+Reported [2010.01.18]: http://projects.scipy.org/numpy/ticket/1365
+
+diff -ru numpy-1.4.0.orig/numpy/core/setup.py numpy-1.4.0/numpy/core/setup.py
+--- numpy-1.4.0.orig/numpy/core/setup.py 2010-01-15 16:49:14 +0100
++++ numpy-1.4.0/numpy/core/setup.py 2010-01-15 17:02:27 +0100
+@@ -169,6 +169,9 @@
+ priv = []
+ pub = []
+
++ if os.uname()[0] == "Interix":
++ return priv, pub
++
+ # Check for complex support
+ st = config.check_header('complex.h')
+ if st: