gsdjvu fails to compile with the following error when using ghostscript-gpl 9.00:
./base/gdevdjvu.c: In function 'htable_alloc':
./base/gdevdjvu.c:1508:7: warning: cast from pointer to integer of different size
./base/gdevdjvu.c: In function 'validate_outputfilename':
./base/gdevdjvu.c:3763:5: error: too few arguments to function 'gx_parse_output_file_name'
./base/gxdevice.h:425:5: note: declared here
Attached patch allows gsdjvu to compile and it seems to work just fine. I've added this patch in our Gentoo package Oct 2010 and didn't recieve any bug reports regarding broken handling of gsdjvu yet. I'm not a programmer though so please review the patch.