FS#55145 - [mupdf] fails to build, patch needs updating from openjpeg-2.1 to openjpeg-2.2

Attached to Project: Community Packages
Opened by David McInnis (daavve) - Monday, 14 August 2017, 22:52 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 15 August 2017, 08:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

openjpeg2 2.2.0
mupdf 1.11-2

When running makepkg I get the following error:

source/fitz/load-jpx.c:458:10: fatal error: /usr/include/openjpeg-2.2/openjpeg-2.1/openjpeg.h: Too many levels of symbolic links
#include <openjpeg-2.1/openjpeg.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

The following patch to 0001-mupdf-openjpeg.patch fixes the issue:

21c21
< +#include <openjpeg-2.1/openjpeg.h>
---
> +#include <openjpeg-2.2/openjpeg.h>
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 15 August 2017, 08:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  mupdf 1.11-3

Loading...