Use AnnotLink instead of Link (poppler-0.17.0)

Resolves: #698161
This commit is contained in:
Marek Kasik 2011-08-08 12:54:45 +02:00
parent d0434976e0
commit 5a3348e027
2 changed files with 18 additions and 1 deletions

11
annot-link.patch Normal file
View File

@ -0,0 +1,11 @@
--- pdf2djvu-0.7.4/pdf-backend.hh 2011-08-08 12:40:39.000000000 +0200
+++ pdf2djvu-0.7.4/pdf-backend.hh 2011-08-08 12:40:45.000000000 +0200
@@ -78,7 +78,7 @@ namespace pdf
namespace link
{
- typedef ::Link Link;
+ typedef ::AnnotLink Link;
typedef ::LinkAction Action;
typedef ::LinkDest Destination;
typedef ::LinkGoTo GoTo;

View File

@ -1,12 +1,13 @@
Name: pdf2djvu
Version: 0.7.4
Release: 7%{?dist}
Release: 8%{?dist}
Summary: PDF to DjVu converter
Group: Applications/Publishing
License: GPLv2+
URL: http://pdf2djvu.googlecode.com/
Source0: http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz
Patch1: throw-specifier.patch
Patch2: annot-link.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -27,6 +28,7 @@ metadata.
%setup -q
%patch1 -p1 -b .throw-specifier
%patch2 -p1 -b .annot-link
%build
%configure
@ -50,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Aug 8 2011 Marek Kasik <mkasik@redhat.com> - 0.7.4-8
- Use AnnotLink instead of Link (poppler-0.17.0)
- Resolves: #698161
* Tue Mar 15 2011 Marek Kasik <mkasik@redhat.com> - 0.7.4-7
- Correct definition of derived class.