https://bugs.kde.org/show_bug.cgi?id=414795

            Bug ID: 414795
           Summary: calligra-3.1.0: karbon - fails to build with poppler
                    >= 0.83.0
           Product: karbon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ja...@gmx.net
          Reporter: timo.g...@gmail.com
  Target Milestone: ---

New compile failures with poppler 0.83.0, with the patch applied from
https://bugs.kde.org/show_bug.cgi?id=414751:

/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:
In member function 'virtual void SvgOutputDev::stroke(GfxState*)':
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:144:46:
error: invalid conversion from 'const GfxPath*' to 'GfxPath*' [-fpermissive]
  144 |     QString path = convertPath(state->getPath());
      |                                ~~~~~~~~~~~~~~^~
      |                                              |
      |                                              const GfxPath*
In file included from
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:20:
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.h:86:34:
note:   initializing argument 1 of 'QString
SvgOutputDev::convertPath(GfxPath*)'
   86 |     QString convertPath(GfxPath *path);
      |                         ~~~~~~~~~^~~~
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:
In member function 'virtual void SvgOutputDev::fill(GfxState*)':
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:155:46:
error: invalid conversion from 'const GfxPath*' to 'GfxPath*' [-fpermissive]
  155 |     QString path = convertPath(state->getPath());
      |                                ~~~~~~~~~~~~~~^~
      |                                              |
      |                                              const GfxPath*
In file included from
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:20:
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.h:86:34:
note:   initializing argument 1 of 'QString
SvgOutputDev::convertPath(GfxPath*)'
   86 |     QString convertPath(GfxPath *path);
      |                         ~~~~~~~~~^~~~
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:
In member function 'virtual void SvgOutputDev::eoFill(GfxState*)':
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:166:46:
error: invalid conversion from 'const GfxPath*' to 'GfxPath*' [-fpermissive]
  166 |     QString path = convertPath(state->getPath());
      |                                ~~~~~~~~~~~~~~^~
      |                                              |
      |                                              const GfxPath*
In file included from
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.cpp:20:
/var/tmp/paludis/build/app-office-calligra-3.1.0-r3/work/calligra-3.1.0/filters/karbon/pdf/SvgOutputDev.h:86:34:
note:   initializing argument 1 of 'QString
SvgOutputDev::convertPath(GfxPath*)'
   86 |     QString convertPath(GfxPath *path);
      |                         ~~~~~~~~~^~~~

Complete build log attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to