~serge-hallyn/ubuntu/maverick/libvirt/fix-mount-ebs

« back to all changes in this revision

Viewing changes to debian/patches/9028-lp628055.patch

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-09-22 15:21:21 UTC
  • Revision ID: james.westby@ubuntu.com-20100922152121-f8f4ddlst2e7i8be
Tags: 0.8.3-1ubuntu13
debian/patch/9028-lp628055.patch: include sys/stat.h to fix compiler
warning and stat() failure on 32bit architectures when calling stat() on
large files. This can be dropped in 0.8.5. (LP: #628055)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Jamie Strandboge <jamie@canonical.com>
 
2
Description: fix compiler warning and stat() failure on 32-bit machines when
 
3
 stating large files. This can be dropped in 0.8.5.
 
4
Bug-Ubuntu: https://launchpad.net/bugs/628055
 
5
 
 
6
Index: libvirt-0.8.3/src/security/virt-aa-helper.c
 
7
===================================================================
 
8
--- libvirt-0.8.3.orig/src/security/virt-aa-helper.c    2010-09-22 15:15:14.000000000 -0500
 
9
+++ libvirt-0.8.3/src/security/virt-aa-helper.c 2010-09-22 15:20:52.000000000 -0500
 
10
@@ -18,6 +18,7 @@
 
11
 #include <stdarg.h>
 
12
 #include <unistd.h>
 
13
 #include <errno.h>
 
14
+#include <sys/stat.h>
 
15
 #include <sys/types.h>
 
16
 #include <fcntl.h>
 
17
 #include <getopt.h>