libe-book: fix build (boost-1.62)

This commit is contained in:
Michael Gehring 2016-10-30 08:22:01 +01:00
parent 37cec8d7e3
commit 5e636fe33f
2 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,24 @@
From b903d0dc91f482b348e5840e5a1df599ebd5e6f9 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
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

View File

@ -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 <pullmoll@t-online.de>"
@ -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}"