[Nut-upsdev] 2.2.2 -pre backports open

Thomas Jarosch thomas.jarosch at intra2net.com
Fri Feb 1 14:51:39 UTC 2008


Hello Arjen and Arnaud,

On Friday, 1. February 2008 11:31:32 you wrote:
> > You reminded me to upgrade my nut 2.0.4 installation to 2.2.1.
> > Attached is a small patch to fix compilation
> > as "struct timeval" was undefined in drivers/dstate.c
>
> I'm *not* good with this patch. This is handled by
>
>     #include "timehead.h"
>
> that is included through #include "common.h". In it's turn, it will depend
> on 'autoconf' to detect what is available on your system.

Ok, here's an updated patch which actually makes use of autoconf :o)

Cheers,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut-2.2.1-compile-fix.patch
Type: text/x-diff
Size: 390 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20080201/651f1015/attachment.patch 


More information about the Nut-upsdev mailing list