Hi,

this fixes the build of print/apvlv with poppler-0.73.0 (which
removed goo/gtypes.h).

>From grepping around and looking at the sources, the #include of
goo/gtypes.h was already bogus, so there should be no change in the
build result at all and the patch could be added even before the
next poppler update.

Any objections? (I'll test it before committing, of course).

Ciao,
        Kili

Index: patches/patch-src_ApvlvPdf_cc
===================================================================
RCS file: patches/patch-src_ApvlvPdf_cc
diff -N patches/patch-src_ApvlvPdf_cc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_ApvlvPdf_cc       10 Jan 2019 21:43:26 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Let it build with poppler-0.73.0.
+
+Funny enough, neither any of the types defined in goo/gtypes.h nor the
+include of poppler-config.h was needed.
+
+Index: src/ApvlvPdf.cc
+--- src/ApvlvPdf.cc.orig
++++ src/ApvlvPdf.cc
+@@ -29,7 +29,6 @@
+ #include "ApvlvPdf.h"
+ 
+ #ifndef POPPLER_WITH_GDK
+-#include <goo/gtypes.h>
+ 
+ static void
+ copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,

Reply via email to