diff --git a/srcpkgs/libe-book/patches/boost159.patch b/srcpkgs/libe-book/patches/boost159.patch new file mode 100644 index 00000000000..4985d569e2e --- /dev/null +++ b/srcpkgs/libe-book/patches/boost159.patch @@ -0,0 +1,24 @@ +From b903d0dc91f482b348e5840e5a1df599ebd5e6f9 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Sun, 30 Aug 2015 13:57:14 +0200 +Subject: [PATCH] fix build with boost 1.59 + +--- + src/lib/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am +index 9931a22..35d35be 100644 +--- src/lib/Makefile.am ++++ src/lib/Makefile.am +@@ -64,6 +64,7 @@ libe_book_@EBOOK_MAJOR_VERSION@_@EBOOK_MINOR_VERSION@_la_LDFLAGS = $(version_inf + libe_book_@EBOOK_MAJOR_VERSION@_@EBOOK_MINOR_VERSION@_la_SOURCES = \ + EBOOKDocument.cpp + ++libe_book_internal_la_CPPFLAGS = -DBOOST_ERROR_CODE_HEADER_ONLY + libe_book_internal_la_SOURCES = \ + EBOOKBitStream.cpp \ + EBOOKBitStream.h \ +-- +2.6.2 + diff --git a/srcpkgs/libe-book/template b/srcpkgs/libe-book/template index 2083dd5ed3d..01fcf00d9ef 100644 --- a/srcpkgs/libe-book/template +++ b/srcpkgs/libe-book/template @@ -1,10 +1,10 @@ # Template file for 'libe-book' pkgname=libe-book version=0.1.2 -revision=4 +revision=5 build_style=gnu-configure configure_args="--disable-werror" -hostmakedepends="gperf doxygen pkg-config" +hostmakedepends="automake libtool gperf doxygen pkg-config" makedepends="boost-devel icu-devel libcppunit-devel libxml2-devel librevenge-devel" short_desc="Import reflowable e-book formats" maintainer="Jürgen Buchmüller " @@ -13,6 +13,10 @@ homepage="http://sourceforge.net/projects/libebook/" distfiles="${SOURCEFORGE_SITE}/project/libebook/${pkgname}-${version}/${pkgname}-${version}.tar.xz" checksum=7f894b1538b71c6cd96c976069c4dadb38b623612f0e35b2f6ee8a2c46bb88ec +pre_configure() { + autoreconf -fi +} + libe-book-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"