diff --git a/srcpkgs/libabw/patches/boost.patch b/srcpkgs/libabw/patches/boost.patch new file mode 100644 index 0000000000..e11e791cfe --- /dev/null +++ b/srcpkgs/libabw/patches/boost.patch @@ -0,0 +1,22 @@ +From ee2d0729315888d1847587ad556470d2fdc883a7 Mon Sep 17 00:00:00 2001 +From: David Tardon +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) diff --git a/srcpkgs/libabw/template b/srcpkgs/libabw/template index ee9ad2609d..80ad456aec 100644 --- a/srcpkgs/libabw/template +++ b/srcpkgs/libabw/template @@ -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 " @@ -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"