Correct definition of derived class
This commit is contained in:
parent
8d8a03a320
commit
d0434976e0
|
@ -1,11 +1,13 @@
|
||||||
Name: pdf2djvu
|
Name: pdf2djvu
|
||||||
Version: 0.7.4
|
Version: 0.7.4
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: PDF to DjVu converter
|
Summary: PDF to DjVu converter
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://pdf2djvu.googlecode.com/
|
URL: http://pdf2djvu.googlecode.com/
|
||||||
Source0: http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz
|
Source0: http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz
|
||||||
|
Patch1: throw-specifier.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: djvulibre-devel djvulibre
|
BuildRequires: djvulibre-devel djvulibre
|
||||||
|
@ -24,6 +26,8 @@ metadata.
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%patch1 -p1 -b .throw-specifier
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
@ -46,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 15 2011 Marek Kasik <mkasik@redhat.com> - 0.7.4-7
|
||||||
|
- Correct definition of derived class.
|
||||||
|
|
||||||
* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> - 0.7.4-6
|
* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> - 0.7.4-6
|
||||||
- Rebuild (poppler-0.16.3)
|
- Rebuild (poppler-0.16.3)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- pdf2djvu-0.7.4/system.hh 2010-06-12 22:20:36.000000000 +0200
|
||||||
|
+++ pdf2djvu-0.7.4/system.hh 2011-03-15 14:58:35.000000000 +0100
|
||||||
|
@@ -162,6 +162,8 @@ private:
|
||||||
|
public:
|
||||||
|
explicit ExistingFile(const std::string &name);
|
||||||
|
ExistingFile(const Directory& directory, const std::string &name);
|
||||||
|
+ virtual ~ExistingFile() throw ()
|
||||||
|
+ { }
|
||||||
|
};
|
||||||
|
|
||||||
|
#if WIN32
|
Loading…
Reference in New Issue