Skip to content

mupdf: update to 1.26.3#2120

Merged
Frenzie merged 2 commits into
koreader:masterfrom
benoit-pierre:pr/mupdf_update
Jun 30, 2025
Merged

mupdf: update to 1.26.3#2120
Frenzie merged 2 commits into
koreader:masterfrom
benoit-pierre:pr/mupdf_update

Conversation

@benoit-pierre

@benoit-pierre benoit-pierre commented Jun 29, 2025

Copy link
Copy Markdown
Member

Force C standard to gnu11, otherwise more recent GCC version will
result in a number of different prototypes (compared to koxtoolchain),
e.g.:

```diff
--- i/ffi/mupdf_h.lua
+++ w/ffi/mupdf_h.lua
@@ -308,8 +308,8 @@ typedef struct {
   int do_labels;
 } pdf_write_options;
 void *mupdf_pdf_save_document(fz_context *, pdf_document *, const char *, pdf_write_options *);
-fz_alloc_context *mupdf_get_my_alloc_context();
-int mupdf_get_cache_size();
+fz_alloc_context *mupdf_get_my_alloc_context(void);
+int mupdf_get_cache_size(void);
 int mupdf_error_code(fz_context *);
 char *mupdf_error_message(fz_context *);
 fz_matrix *mupdf_fz_scale(fz_matrix *, float, float);
```
@Frenzie Frenzie merged commit 4976adb into koreader:master Jun 30, 2025
4 checks passed
@benoit-pierre benoit-pierre deleted the pr/mupdf_update branch June 30, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants