libabw: fix gcc6 build
This commit is contained in:
parent
30ccfb7672
commit
50b5c9e905
2 changed files with 28 additions and 2 deletions
22
srcpkgs/libabw/patches/boost.patch
Normal file
22
srcpkgs/libabw/patches/boost.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
From ee2d0729315888d1847587ad556470d2fdc883a7 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Sun, 30 Aug 2015 08:05:31 +0200
|
||||
Subject: [PATCH] fix build with boost 1.59
|
||||
|
||||
Change-Id: I5645629526a8d9d896e4faeb2c7b9ea88540fd23
|
||||
---
|
||||
src/lib/Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
|
||||
index 5766f39..d12d8e2 100644
|
||||
--- src/lib/Makefile.am
|
||||
+++ src/lib/Makefile.am
|
||||
@@ -26,6 +26,7 @@ generated_files = \
|
||||
$(top_builddir)/src/lib/tokens.h \
|
||||
$(top_builddir)/src/lib/tokenhash.h
|
||||
|
||||
+libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_CPPFLAGS = -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED
|
||||
libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_LIBADD = $(REVENGE_LIBS) $(LIBXML_LIBS) $(ZLIB_LIBS) @LIBABW_WIN32_RESOURCE@
|
||||
libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_DEPENDENCIES = @LIBABW_WIN32_RESOURCE@
|
||||
libabw_@ABW_MAJOR_VERSION@_@ABW_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic $(no_undefined)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libabw'
|
||||
pkgname=libabw
|
||||
version=0.1.1
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
short_desc="Library that parses the file format of AbiWord documents"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
|
@ -9,9 +9,13 @@ license="MPL"
|
|||
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libabw"
|
||||
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||
makedepends="librevenge-devel boost-devel libxml2-devel"
|
||||
hostmakedepends="libtool pkg-config perl gperf"
|
||||
hostmakedepends="automake libtool pkg-config perl gperf"
|
||||
checksum=cfc698c2dd4ab592138a941ae26e2e18c3dac69bc196b5167df7f5eb88fc217e
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
libabw-devel_package() {
|
||||
depends="libabw>=${version}_${revision} $makedepends"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue