[Buildroot] [PATCH 1/1] package/poppler: fix build without libpng

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Dec 29 23:16:56 UTC 2021


On Wed, 29 Dec 2021 23:52:58 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix the following build failure with libjpeg but without libpng raised
> since bump to version 21.12.0 in commit
> 1da4ead4c2286047228f710d233933dfc04c51f0:
> 
> /home/giuliobenetti/autobuild/run/instance-2/output-1/build/poppler-21.12.0/poppler/ImageEmbeddingUtils.cc:298:5: error: 'jmp_buf' does not name a type
>   298 |     jmp_buf setjmpBuffer;
>       |     ^~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/360972af797bb1be80b0324796794817fe0ccf53
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...h-when-WITH_JPEG-yes-and-WITH_PNG-no.patch | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 package/poppler/0001-Include-setjmp-h-when-WITH_JPEG-yes-and-WITH_PNG-no.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list