Ehrm, I forgot to download
OpenFTS.
Hmm.. I applied your patch and I get this:
checking looking for postgresql include files... configure: error: couldn't find postgresql include files
I have RH 7.1 and installed PG 7.1.3 from source in the normal place...I wonder what I'm doing wrong?