While trying to compile racoon (todays HEAD from CVS) I've found some
Linux (and glibc) incompatible code. The attached patches fix two of
linux-fwd_policy_fix.diff fixes some problems with the probably
copy-pasted generated fwd policy entry deletion code.
linux-glibc_iconv_fix.diff makes two tiny changes in the charset
conversion part introduced by the latest merge of Jason Thorpe's recent
GSSAPI patch. In glibc, the 'source' argument of iconv() is not const,
and gcc was complaining about that.
BTW, the new GSSAPI code uses the non-standard asprinf() call, which
is only available in glibc if _GNU_SOURCE is defined. I was able to
compile racoon by specifying CFLAGS="-D_GNU_SOURCE" for the configure
script, but I think that configure should do this automatically on glibc