The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / pv / 0001-add-lstat64-to-64-emulation.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/pv/0001-add-lstat64-to-64-emulation.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/pv/0001-add-lstat64-to-64-emulation.patch
new file mode 100644 (file)
index 0000000..a2aa4f5
--- /dev/null
@@ -0,0 +1,22 @@
+[PATCH] add lstat64 to *64 emulation
+
+pv nowadays also uses lstat64, so add it to the emulation defines for !LFS
+builds.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ autoconf/header.in |    1 +
+ 1 file changed, 1 insertion(+)
+
+Index: pv-1.5.7/autoconf/header.in
+===================================================================
+--- pv-1.5.7.orig/autoconf/header.in
++++ pv-1.5.7/autoconf/header.in
+@@ -76,6 +76,7 @@
+ # endif
+ # define open64 open
+ # define lseek64 lseek
++# define lstat64 lstat
+ #endif
+ #undef HAVE_IPC