[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] configure: fix libcap detection
From: |
Aneesh Kumar K.V |
Subject: |
Re: [Qemu-devel] [PATCH] configure: fix libcap detection |
Date: |
Tue, 31 Jul 2012 23:05:35 +0530 |
User-agent: |
Notmuch/0.13.2+63~g548a9bf (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Stefan Weil <address@hidden> writes:
> Am 31.07.2012 08:52, schrieb Aneesh Kumar K.V:
>> Avi Kivity <address@hidden> writes:
>>
>>> - avoid assigned-but-not-used error
>>> - avoid missing return error
>>>
>>> Signed-off-by: Avi Kivity <address@hidden>
>>
>> Acked-by: Aneesh Kumar K.V <address@hidden>
>>
>>
>>> ---
>>> configure | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/configure b/configure
>>> index 7767aca..5fb449d 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -2099,7 +2099,7 @@ if test "$cap" != "no" ; then
>>> cat > $TMPC <<EOF
>>> #include <stdio.h>
>>> #include <sys/capability.h>
>>> -int main(void) { cap_t caps; caps = cap_init(); }
>>> +int main(void) { cap_t caps; caps = cap_init(); (void)caps; return 0; }
>>> EOF
>>> if compile_prog "" "-lcap" ; then
>>> cap=yes
>>> --
>>> 1.7.11.3
>
>
> Hi Anthony,
>
> please apply http://patchwork.ozlabs.org/patch/171067/,
> or we'll get a 4th bug fix for this.
I sent a pull request for VirtFS taking the patch done by you
found at
http://patchwork.ozlabs.org/patch/171704/
That patch is important for VirtFS because without that VirtFS won't
be enabled in the build.
Let me know if you want me to redo the pull request.
-aneesh