mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libe-book: fix build (boost-1.62)
This commit is contained in:
parent
37cec8d7e3
commit
5e636fe33f
2 changed files with 30 additions and 2 deletions
24
srcpkgs/libe-book/patches/boost159.patch
Normal file
24
srcpkgs/libe-book/patches/boost159.patch
Normal 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
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'libe-book'
|
# Template file for 'libe-book'
|
||||||
pkgname=libe-book
|
pkgname=libe-book
|
||||||
version=0.1.2
|
version=0.1.2
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-werror"
|
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"
|
makedepends="boost-devel icu-devel libcppunit-devel libxml2-devel librevenge-devel"
|
||||||
short_desc="Import reflowable e-book formats"
|
short_desc="Import reflowable e-book formats"
|
||||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
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"
|
distfiles="${SOURCEFORGE_SITE}/project/libebook/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=7f894b1538b71c6cd96c976069c4dadb38b623612f0e35b2f6ee8a2c46bb88ec
|
checksum=7f894b1538b71c6cd96c976069c4dadb38b623612f0e35b2f6ee8a2c46bb88ec
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
libe-book-devel_package() {
|
libe-book-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue