pango: update to 1.56.1
[oi-userland.git] / components / print / ghostscript / patches / 01-pdf_permissions.patch
blob0535686a1e2bbeb6649691eb91b37fa3ff7074a5
1 Temporary patch to make USE_PDF_PERMISSIONS section build.
3 For upstream.
5 --- a/pdf/ghostpdf.c 2024-08-08 08:57:38.839673047 +0200
6 +++ b/pdf/ghostpdf.c 2024-08-08 08:58:13.552200321 +0200
7 @@ -1213,6 +1213,8 @@
8 if (ctx->Trailer) {
9 /* See comment in pdfi_read_Root() (pdf_doc.c) for details */
10 pdf_dict *d = ctx->Trailer;
11 + double Permissions = 0;
12 + uint32_t P = 0;
14 pdfi_countup(d);
15 code = pdfi_dict_get(ctx, d, "Encrypt", &o);