[Poppler-bugs] [Bug 57687] New: pdftocairo shows wrong version on cygwin

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 29 05:36:26 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57687

          Priority: medium
            Bug ID: 57687
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: pdftocairo shows wrong version on cygwin
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: ajohnson at redneon.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: utils
           Product: poppler

Created attachment 70790
  --> https://bugs.freedesktop.org/attachment.cgi?id=70790&action=edit
Move jpeglib.h into .cc file

On cygwin pdftocairo displays "pdftocairo version 8.0.2".

The problem is /usr/include/jconfig.h (included by jpeglib.h) on cygwin defines
PACKAGE_VERSION.

The attached patch fixes this by moving the #include <jpeglib.h> and libjpeg
types from JpegWriter.h to JpegWriter.cc. This avoids polluting the name space
of our internal header files with junk from other libraries.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121129/4c40d0d2/attachment.html>


More information about the Poppler-bugs mailing list