Fix the build with poppler-24.10.0.
ok?
Ciao,
Kili
Index: patches/patch-src_core_view_TexImageView_cpp
===================================================================
RCS file: patches/patch-src_core_view_TexImageView_cpp
diff -N patches/patch-src_core_view_TexImageView_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_core_view_TexImageView_cpp 22 Oct 2024 18:18:41
-0000
@@ -0,0 +1,16 @@
+Fix build with poppler-24.10.0.
+
+From upstream commit f89367c7e0a377d2d96cbdde6a0362dd2074ff26.
+
+Index: src/core/view/TexImageView.cpp
+--- src/core/view/TexImageView.cpp.orig
++++ src/core/view/TexImageView.cpp
+@@ -4,8 +4,6 @@
+
+ #include <cairo.h> // for cairo_paint_with_alpha, cairo_scale
+ #include <glib.h> // for g_warning
+-#include <poppler-document.h> // for poppler_document_get_n_pages,
poppler_...
+-#include <poppler-page.h> // for poppler_page_render,
poppler_page_get_...
+ #include <poppler.h> // for PopplerPage, PopplerDocument,
g_clear_...
+
+ #include "model/TexImage.h" // for TexImage