-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

I am new to fedora packaging and thought of taking this all important
ntop packaging :) After going through the efforts already put in by
Bernard Johnson[1]. I found that a closed bug[2] needs to be reopened as
net-snmp-5.4.1-6.fc8 is still breaking the ntop build from spec [3]
and patches & source already created[4].

There was a recent discussion regarding regarding this issue[5].  It
suggests following quick patch a possible quick solution:

- --- include/net-snmp/library/tools.h.orig    2008-02-07 14:43:10.000000000 
+0300
+++ include/net-snmp/library/tools.h    2008-02-08 09:57:51.000000000 +0300
@@ -50,7 +50,7 @@

 /** @def SNMP_FREE(s)
     Frees a pointer only if it is !NULL and sets its value to NULL */
- -#define SNMP_FREE(s)    do { if (s) { free((void *)s); s=NULL; } } while(0)
+#define SNMP_FREE(s)    do { if (s) { free(s); s=NULL; } } while(0)

 /** @def SNMP_SWIPE_MEM(n, s)
     Frees pointer n only if it is !NULL, sets n to s and sets s to NULL */


But I doubt at it. Any suggestions?

It would be cool if we can fix this ASAP. :-)

[1] https://bugzilla.redhat.com/show_bug.cgi?id=219025
[2] https://bugzilla.redhat.com/show_bug.cgi?id=389631 
[3] http://bjohnson.fedorapeople.org/ntop.spec
[4] http://bjohnson.fedorapeople.org/ntop-3.3-3.fc8.src.rpm
[5] http://www.nabble.com/ntop---net-snmp-td13837181.html

- -- 
Rakesh Pandit
GPG Key ID: ECD47F15
Keyserver:  hkp://subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIMHVDeRg4ouzUfxURAi1fAJoCdo7hDd0ixwglH+fNwUAKlp+osgCfdJF4
ElaobhLK22gntHyEAsapElg=
=tJbr
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to