Summary: | pdf_drop_js is missing in pdf-js-none.c | ||
---|---|---|---|
Product: | MuPDF | Reporter: | fedir3 |
Component: | mupdf | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | robin.watts |
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: | fixed version of pdf-js-none.c |
In the latest version, pdf-js.c has both js and no-js versions, controlled by the FZ_ENABLE_JS define. |
Created attachment 12984 [details] fixed version of pdf-js-none.c pdf-js-none.c implements dummy functions from javascript.h but misses the pdf_drop_js function. When compiling mupdf with HAVE_MUJS := no, the compilation fails because of pdf-xref.c using an undefined reference to `pdf_drop_js' adding the missing dummy function solves the issue. see attached fix