Unable to build with poppler 0.71.0
Andreas Radke
andreas.radke at mailbox.org
Tue Nov 20 17:53:45 UTC 2018
Am Mon, 19 Nov 2018 16:07:09 +0300
schrieb Andrey Cherepanov <cas at altlinux.org>:
> If build with poppler 0.71.0 I get errors for missing type GBool:
>
> In file included from
> /usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20:0:
> /usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:153:17:
> error: 'GBool' does not name a type; did you mean 'bool'
> virtual GBool upsideDown() override { return gTrue; }
> ^~~~~
> bool
> /usr/src/RPM/BUILD/libreoffice-6.0.7.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:156:17:
> error: 'GBool' does not name a type; did you mean 'bool'
> virtual GBool useDrawChar() override { return gTrue; }
> ^~~~~
> bool
> ...
>
> There is commit
> https://gitlab.freedesktop.org/poppler/poppler/commit/163420b48bdddf9084208b3cadf04dafad52d40a
>
> Replace GBool, gTrue, and gFalse by bool, true, false, resp.
>
> So type GBool (and so on) is no longer exist and it should be replaced
> by bool in sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
>
Feel free to use this fix:
https://git.archlinux.org/svntogit/packages.git/plain/trunk/libreoffice-poppler-0.71.patch?h=packages/libreoffice-still
-Andy
Arch Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20181120/1b932d6a/attachment.sig>
More information about the LibreOffice
mailing list