Bug#344757: [Apcupsd-users] bug #344757 example client.c can't be compiled

2006-01-02 Thread Hugo Vanwoerkom

Adam Kropelin wrote:

Samuele Giovanni Tonon wrote:

hi,
i received a patch for example/client.c file .
with this patch the example can be compiled without any problem.
Hugo Vanwoerkom was the author of the patch, please include it on the
main branch .

here's the url of the bug and in attach the patch .
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344757


Thanks for forwarding the patch. I've committed to CVS a simpler 
change that also fixes the compile failure. While the full patch has 
the benefit of removing the requirement for libnis, it does so at the 
expense of code duplication which I would prefer to avoid for now.


--Adam



That was the first thing I tried and was unsuccessful.
Thanks!

H





--
I think the death is much overrated. 
How could anything so ordinary become a penalty?

John J. Cox



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344757: [Apcupsd-users] bug #344757 example client.c can't be compiled

2006-01-02 Thread Adam Kropelin

Hugo Vanwoerkom wrote:

Adam Kropelin wrote:

Samuele Giovanni Tonon wrote:

hi,
i received a patch for example/client.c file .
with this patch the example can be compiled without any problem.
Hugo Vanwoerkom was the author of the patch, please include it on
the main branch .

here's the url of the bug and in attach the patch .
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344757


Thanks for forwarding the patch. I've committed to CVS a simpler
change that also fixes the compile failure. While the full patch has
the benefit of removing the requirement for libnis, it does so at the
expense of code duplication which I would prefer to avoid for now.


That was the first thing I tried and was unsuccessful.
Thanks!


Would you mind pulling current CVS and verifying that my fix does work 
for you? Instructions on obtaining apcupsd from CVS are available at 
http://www.apcupsd.com.


--Adam



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344757: [Apcupsd-users] bug #344757 example client.c can't be compiled

2006-01-02 Thread Hugo Vanwoerkom

Adam Kropelin wrote:

Hugo Vanwoerkom wrote:

Adam Kropelin wrote:

Samuele Giovanni Tonon wrote:

hi,
i received a patch for example/client.c file .
with this patch the example can be compiled without any problem.
Hugo Vanwoerkom was the author of the patch, please include it on
the main branch .

here's the url of the bug and in attach the patch .
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344757


Thanks for forwarding the patch. I've committed to CVS a simpler
change that also fixes the compile failure. While the full patch has
the benefit of removing the requirement for libnis, it does so at the
expense of code duplication which I would prefer to avoid for now.


That was the first thing I tried and was unsuccessful.
Thanks!


Would you mind pulling current CVS and verifying that my fix does work 
for you? Instructions on obtaining apcupsd from CVS are available at 
http://www.apcupsd.com.



Did.
Works.
If I can help do not hesitate to ask.
Hugo






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344757: [Apcupsd-users] bug #344757 example client.c can't be compiled

2006-01-01 Thread Adam Kropelin

Samuele Giovanni Tonon wrote:

hi,
i received a patch for example/client.c file .
with this patch the example can be compiled without any problem.
Hugo Vanwoerkom was the author of the patch, please include it on the
main branch .

here's the url of the bug and in attach the patch .
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344757


Thanks for forwarding the patch. I've committed to CVS a simpler change 
that also fixes the compile failure. While the full patch has the 
benefit of removing the requirement for libnis, it does so at the 
expense of code duplication which I would prefer to avoid for now.


--Adam



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]