This patch gets fmclient-0.1.5 (barely) working against
the
current (May 2002) output format of the freshmeat xml
interface.
It was generated using "diff -r -u3" and can be applied
like
that:
$ tar -xzf fmclient-0.1.5.tar.gz
$ gzip -cd patch.fmclient-0.1.5.gz | patch -p0
patching file `fmclient-0.1.5/src/callbacks.c'
$ cd fmclient-0.1.5.tar.gz
$ ./configure
$ make
$ make install
This patch addresses the following bugs:
1. HTTP 1.1 requires a "Host:" HTTP header in the
request
and it was not supplied.
2. The code to detect the start of the xml content was
a bit
obfuscated.
3. The xml navigation was broken.
This patch adds no error checks, so if something goes
wrong,
fmclient will still break badly, but at least if
everything else
works smoothly, it has a chance of producing output.
The patch in gzip format