Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
pdf2djvu
0002-main-use-pdf-link-Destination-copy-constru...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-main-use-pdf-link-Destination-copy-constructor.patch of Package pdf2djvu
(Patch modified to apply to pdf2djvu 0.9.18.2) From ec2409d779ac332e29e385f069e1db94ee055e0d Mon Sep 17 00:00:00 2001 From: Jakub Wilk <jwilk@jwilk.net> Date: Wed, 16 Feb 2022 09:10:28 +0000 Subject: [PATCH] main: use pdf::link::Destination copy constructor. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: main.cc: In function ‘int get_page_for_goto_link(pdf::link::GoTo*, pdf::Catalog*)’: main.cc:92:27: error: ‘const Destination’ {aka ‘const class LinkDest’} has no member named ‘copy’ https://cgit.freedesktop.org/poppler/poppler/commit/?id=7a429c3cf9fba67e --- pdf2djvu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf2djvu.cc b/pdf2djvu.cc index 2b42d16..bb5fd57 100644 --- a/pdf2djvu.cc +++ b/pdf2djvu.cc @@ -89,7 +89,7 @@ static int get_page_for_goto_link(pdf::link::GoTo *goto_link, pdf::Catalog *cata #endif } else - dest.reset(orig_dest->copy()); + dest.reset(new pdf::link::Destination(*orig_dest)); if (dest.get() != nullptr) { int page; -- 2.35.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor