[packages/evince] - include kpathsea configs before other headers
qboosh
qboosh at pld-linux.org
Sun Jul 12 14:48:56 CEST 2026
commit c56947d353be7aa59ce9a2daedff1a1617bdb3e6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 12 14:48:57 2026 +0200
- include kpathsea configs before other headers
evince-kpathsea.patch | 11 +++++++++++
evince.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/evince.spec b/evince.spec
index 119dfb0..d0a62d3 100644
--- a/evince.spec
+++ b/evince.spec
@@ -16,6 +16,7 @@ License: GPL v2+
Group: X11/Applications/Graphics
Source0: https://download.gnome.org/sources/evince/48/%{name}-%{version}.tar.xz
# Source0-md5: 5df36228e83ac93a5860f013af50c5c8
+Patch0: %{name}-kpathsea.patch
URL: https://wiki.gnome.org/Apps/Evince
BuildRequires: cairo-devel >= 1.10.0
BuildRequires: dbus-devel
@@ -219,6 +220,7 @@ Przeglądanie dokumentów XPS przy użyciu Evince.
%prep
%setup -q
+%patch -P0 -p1
%build
%meson \
diff --git a/evince-kpathsea.patch b/evince-kpathsea.patch
new file mode 100644
index 0000000..19a34b9
--- /dev/null
+++ b/evince-kpathsea.patch
@@ -0,0 +1,11 @@
+--- evince-48.4/backend/dvi/mdvi-lib/private.h.orig 2026-05-19 19:34:50.000000000 +0200
++++ evince-48.4/backend/dvi/mdvi-lib/private.h 2026-07-12 14:41:42.730098908 +0200
+@@ -32,6 +32,8 @@
+ # endif
+ #endif
+
++#include <kpathsea/config.h>
++#include <kpathsea/c-auto.h>
+ #include <kpathsea/debug.h>
+ #include <kpathsea/tex-file.h>
+ #include <kpathsea/tex-glyph.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/evince.git/commitdiff/c56947d353be7aa59ce9a2daedff1a1617bdb3e6
More information about the pld-cvs-commit
mailing list