I attach a patch to fix the problem (patches taken from vanilla freebsd ports) I don't know if it works also under linux, please test it before commit or apply it conditionally (use x86-fbsd && epatch)
Created attachment 116725 [details, diff] files/libopendaap-0.4.0-freebsd.patch
Only the change to http_client.c is needed, the rest is superfluous, it's for GCC 2.95 compatibility and so it shouldn't be patched at all.
Created attachment 116726 [details, diff] files/libopendaap-0.4.0-freebsd.patch Thanks flameeyes, i punted all the patches but the http_client.c one. Since it's trivial it must work also under linux :)
Patch added, thanks.