[pdf2djvu] Correct definition of derived class
mkasik
mkasik at fedoraproject.org
Tue Mar 15 14:44:35 UTC 2011
commit d0434976e0be533d3238e003eb54823ff8ab17c4
Author: Marek Kasik <mkasik at redhat.com>
Date: Tue Mar 15 15:44:20 2011 +0100
Correct definition of derived class
pdf2djvu.spec | 9 ++++++++-
throw-specifier.patch | 11 +++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/pdf2djvu.spec b/pdf2djvu.spec
index afe195a..6846958 100644
--- a/pdf2djvu.spec
+++ b/pdf2djvu.spec
@@ -1,11 +1,13 @@
Name: pdf2djvu
Version: 0.7.4
-Release: 6%{?dist}
+Release: 7%{?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
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: djvulibre-devel djvulibre
@@ -24,6 +26,8 @@ metadata.
%prep
%setup -q
+%patch1 -p1 -b .throw-specifier
+
%build
%configure
make %{?_smp_mflags}
@@ -46,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Mar 15 2011 Marek Kasik <mkasik at redhat.com> - 0.7.4-7
+- Correct definition of derived class.
+
* Sun Mar 13 2011 Marek Kasik <mkasik at redhat.com> - 0.7.4-6
- Rebuild (poppler-0.16.3)
diff --git a/throw-specifier.patch b/throw-specifier.patch
new file mode 100644
index 0000000..b681dfe
--- /dev/null
+++ b/throw-specifier.patch
@@ -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
More information about the scm-commits
mailing list