Opened 3 years ago
Closed 3 years ago
#16986 closed defect (fixed)
Fix building libreoffice with poppler-22.09.0
Reported by: | Douglas R. Reno | Owned by: | Douglas R. Reno |
---|---|---|---|
Priority: | normal | Milestone: | 11.3 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Libreoffice uses the same code as Inkscape does for handling PDF imports, and as noted at Arch Linux, it will fail to build with a similar error:
libreoffice-7.3.5.2/work/libreoffice-7.3.5.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:682:36: error: too many arguments to function call, expected single argument 'start', have 3 arguments
This is due to the interface of the getLineDash function changing:
- void getLineDash(double **dash, int *length, double *start) + const std::vector<double> &getLineDash(double *start)
Gentoo has a patch, so I'll use that to resolve this problem. First though, I need to install a few dependencies.
I checked all of the other packages that we have which have poppler as a dependency and only saw this in Libreoffice and Inkscape.
Change History (3)
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 3 years ago
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'll have to note inkscape/libreoffice breakage in the security advisory and point to patches