Skip to content

Commit

Permalink
app-text/apvlv: Fix build with poppler-0.73
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/675658
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jan 17, 2019
1 parent e9e00e8 commit d4bee1e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app-text/apvlv/apvlv-0.1.5-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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() {
Expand Down
10 changes: 10 additions & 0 deletions app-text/apvlv/files/apvlv-0.1.5-poppler-0.73.patch
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit d4bee1e

Please sign in to comment.