fix FTBFS of (at least) qpdfview
This commit is contained in:
parent
3997f669ec
commit
e6ad02431f
28
0001-add-missing-header-for-fz_archive.patch
Normal file
28
0001-add-missing-header-for-fz_archive.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From e3423caf5820d97970068a243427c2bdc576fe26 Mon Sep 17 00:00:00 2001
|
||||
Message-ID: <e3423caf5820d97970068a243427c2bdc576fe26.1710968212.git.mjg@fedoraproject.org>
|
||||
From: Michael J Gruber <mjg@fedoraproject.org>
|
||||
Date: Wed, 20 Mar 2024 21:55:23 +0100
|
||||
Subject: [PATCH] add missing header for fz_archive
|
||||
|
||||
2eb4c51a4 ("Reduce document handler open functions to a single one.",
|
||||
2024-01-08) introduced an additional fz_archive argument. Include the
|
||||
header which defines the argument type.
|
||||
---
|
||||
include/mupdf/fitz/document.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/include/mupdf/fitz/document.h b/include/mupdf/fitz/document.h
|
||||
index a23340768..a732fa5d8 100644
|
||||
--- a/include/mupdf/fitz/document.h
|
||||
+++ b/include/mupdf/fitz/document.h
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "mupdf/fitz/link.h"
|
||||
#include "mupdf/fitz/outline.h"
|
||||
#include "mupdf/fitz/separation.h"
|
||||
+#include "mupdf/fitz/archive.h"
|
||||
|
||||
typedef struct fz_document_handler fz_document_handler;
|
||||
typedef struct fz_page fz_page;
|
||||
--
|
||||
2.44.0.458.ge6d7a2c32c
|
||||
|
@ -12,6 +12,9 @@ URL: http://mupdf.com/
|
||||
Source0: http://mupdf.com/downloads/archive/%{name}-%{upversion}-source.tar.gz
|
||||
Source1: %{name}.desktop
|
||||
Source2: %{name}-gl.desktop
|
||||
# Upstreamable patches:
|
||||
# https://bugs.ghostscript.com/show_bug.cgi?id=707682
|
||||
Patch: 0001-add-missing-header-for-fz_archive.patch
|
||||
BuildRequires: gcc gcc-c++ make binutils desktop-file-utils coreutils pkgconfig
|
||||
BuildRequires: openjpeg2-devel desktop-file-utils
|
||||
BuildRequires: libjpeg-devel freetype-devel libXext-devel curl-devel
|
||||
|
Loading…
Reference in New Issue
Block a user