[packages/libe-book] - fix building with boost 1.59 - rel 5
baggins
baggins at pld-linux.org
Tue Nov 17 08:48:03 CET 2015
commit 231f14ae1c0402e5f2f227a573cf190fe10cf1ec
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Nov 17 08:47:46 2015 +0100
- fix building with boost 1.59
- rel 5
boost-1.59.patch | 10 ++++++++++
libe-book.spec | 9 ++++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/libe-book.spec b/libe-book.spec
index ed71152..0239d1a 100644
--- a/libe-book.spec
+++ b/libe-book.spec
@@ -6,12 +6,13 @@ Summary: Library and tools for reading and converting various non-HTML reflowabl
Summary(pl.UTF-8): Biblioteka i narzedzia do odczytu i konwersji różnych formatów e-booków
Name: libe-book
Version: 0.1.2
-Release: 4
+Release: 5
License: LGPL v2.1+ or MPL v2.0+
Group: Libraries
Source0: http://downloads.sourceforge.net/libebook/%{name}-%{version}.tar.xz
# Source0-md5: 19d84f4a97aab32d350d1f47ea3da0b3
Patch0: %{name}-missing.patch
+Patch1: boost-1.59.patch
URL: http://libebook.sourceforge.net/
BuildRequires: boost-devel
BuildRequires: doxygen
@@ -126,8 +127,14 @@ obsługiwane są HTML, tekst i format surowy.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--enable-experimental \
--disable-silent-rules \
diff --git a/boost-1.59.patch b/boost-1.59.patch
new file mode 100644
index 0000000..6cddf04
--- /dev/null
+++ b/boost-1.59.patch
@@ -0,0 +1,10 @@
+--- libe-book-0.1.2/src/lib/Makefile.am~ 2014-12-31 09:32:41.000000000 +0100
++++ libe-book-0.1.2/src/lib/Makefile.am 2015-11-17 08:45:38.235881735 +0100
+@@ -46,6 +46,7 @@
+ $(XML_LIBS) \
+ $(ICU_LIBS) \
+ $(ZLIB_LIBS) \
++ -lboost_system \
+ @LIBEBOOK_WIN32_RESOURCE@
+
+ if ENABLE_EXPERIMENTAL
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libe-book.git/commitdiff/231f14ae1c0402e5f2f227a573cf190fe10cf1ec
More information about the pld-cvs-commit
mailing list