Index: client/deps/libaio/libaio.py |
diff --git a/client/deps/libaio/libaio.py b/client/deps/libaio/libaio.py |
index 6a27ab8185fbbdecbe749eef4b836300e882b354..62a6ed8fd233f2b6f218c717dbc239b4e4d8704e 100755 |
--- a/client/deps/libaio/libaio.py |
+++ b/client/deps/libaio/libaio.py |
@@ -10,8 +10,9 @@ def setup(tarball, topdir): |
srcdir = os.path.join(topdir, 'src') |
utils.extract_tarball_to_dir(tarball, srcdir) |
os.chdir(srcdir) |
- utils.system ('make') |
- utils.system ('make prefix=%s install' % topdir) |
+ utils.system('patch -p1 < ../00_arches.patch') |
+ utils.system('make') |
+ utils.system('make prefix=%s install' % topdir) |
os.chdir(topdir) |
@@ -19,6 +20,8 @@ def setup(tarball, topdir): |
# http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.bz2 |
# now grabbing from debian |
# http://ftp.debian.org/debian/pool/main/liba/libaio/libaio_0.3.106.orig.tar.gz |
+# architecture patch from here |
+# http://git.hadrons.org/?p=debian/pkgs/libaio.git;a=tree;f=debian/patches |
pwd = os.getcwd() |
tarball = os.path.join(pwd, 'libaio_0.3.106.orig.tar.gz') |