Skip Menu |

This queue is for tickets about the Net-MDNS-Client CPAN distribution.

Report information
The Basics
Id: 52895
Status: new
Priority: 0/
Queue: Net-MDNS-Client

People
Owner: Nobody in particular
Requestors: allard [...] byte.nl
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 0.04
Fixed in: (no value)



Subject: Compilation fails on Ubuntu 9.10 (gcc version 4.4.1)
Compilation fails on Ubuntu 9.10: 1035.c: In function ‘_rrparse’: 1035.c:210: warning: incompatible implicit declaration of built-in function ‘sprintf’ 1035.c: In function ‘message_parse’: 1035.c:268: error: lvalue required as left operand of assignment 1035.c:277: error: lvalue required as left operand of assignment 1035.c:278: error: lvalue required as left operand of assignment 1035.c:279: error: lvalue required as left operand of assignment This used to be a warning, but has now been turned into a hard error, see this ActiveState log file: http://bit.ly/91q1xF Please apply the patch :) Thanks! Details: Net-MDNS-Client-0.04 $ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) $ perl -v This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Subject: 1035.c.patch
--- Net-MDNS-Client-0.04/mdns/1035.c 2003-06-02 11:45:14.000000000 +0200 +++ libnet-mdns-client-perl-0.04/mdns/1035.c 2009-12-18 14:01:02.000000000 +0100 @@ -241,7 +241,7 @@ if(packet == 0 || m == 0) return; // keep all our mem in one (aligned) block for easy freeing - #define my(x,y) while(m->_len&7) m->_len++; (void*)x = (void*)(m->_packet + m->_len); m->_len += y; + #define my(x,y) while(m->_len&7) m->_len++; x = (void*)(m->_packet + m->_len); m->_len += y; // header stuff bit crap m->_buf = buf = packet;