app-text/apvlv: Fix build with poppler-0.73
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 17 Jan 2019 00:32:38 +0000 (01:32 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 17 Jan 2019 00:36:04 +0000 (01:36 +0100)
Closes: https://bugs.gentoo.org/675658
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-text/apvlv/apvlv-0.1.5-r2.ebuild
app-text/apvlv/files/apvlv-0.1.5-poppler-0.73.patch [new file with mode: 0644]

index 930aba29f2195227610832618993de20a2b59861..bdcb3de1f18e437b754867851347bb5d3fd81a2f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -26,9 +26,10 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
        # preserve cflags
-       "${FILESDIR}/${PN}-0.1.5-cflags.patch"
-       "${FILESDIR}/${PN}-0.1.5-gcc6.patch"
-       "${FILESDIR}/${PN}-0.1.5-gcc7.patch"
+       "${FILESDIR}/${P}-cflags.patch"
+       "${FILESDIR}/${P}-gcc6.patch"
+       "${FILESDIR}/${P}-gcc7.patch"
+       "${FILESDIR}/${P}-poppler-0.73.patch"
 )
 
 src_configure() {
diff --git a/app-text/apvlv/files/apvlv-0.1.5-poppler-0.73.patch b/app-text/apvlv/files/apvlv-0.1.5-poppler-0.73.patch
new file mode 100644 (file)
index 0000000..c3001d4
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/ApvlvPdf.cc  2015-01-10 15:04:24.000000000 +0100
++++ b/src/ApvlvPdf.cc  2019-01-17 01:29:54.479256848 +0100
+@@ -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,