[poppler] Can't compile with --disable-libjpeg (patch inside)

Albert Astals Cid aacid at kde.org
Fri Dec 30 14:01:32 PST 2005


A Dijous 29 Desembre 2005 20:48, Daniel Drake va escriure:
> Hi,
Hi

> Compiling current cvs with --disable-libjpeg fails:
>
> In file included from ImageOutputDev.cc:25:
> ../poppler/DCTStream.h:52: error: redefinition of `class DCTStream'
> ../poppler/Stream.h:569: error: previous definition of `class DCTStream'
> make[2]: *** [ImageOutputDev.o] Error 1
>
> The attached diff solves it, by moving the inbuilt DCTStream
> implementation into files alongside the libjpeg ones, which should make
> it easier to manage.
>
> If you'd prefer another approach to this, let me know, and I'll refine
> the patch.

Some carefully placed ifdef made it much easier ;-)

Albert

>
> Daniel

		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, mநூs seguridad 
http://correo.yahoo.es


More information about the poppler mailing list