From 1cbbf7e93e183c7b4627e3adec844d403a05a7ef Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 30 Aug 2015 14:01:57 +0200 Subject: [PATCH] fix build with boost 1.59 --- libvisio.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libvisio.spec b/libvisio.spec index 3d28ac2..60cbf50 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -2,7 +2,7 @@ Name: libvisio Version: 0.1.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library for import of Microsoft Visio diagrams License: MPLv2.0 @@ -54,6 +54,7 @@ Currently supported: XHTML, raw, plain text. %autosetup -p1 %build +export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED' %configure --disable-static --disable-silent-rules sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ @@ -116,6 +117,9 @@ make check %{?_smp_mflags} %{_mandir}/man1/vss2xhtml.1* %changelog +* Sun Aug 30 2015 David Tardon - 0.1.3-4 +- fix build with boost 1.59 + * Thu Aug 27 2015 Jonathan Wakely - 0.1.3-3 - Rebuilt for Boost 1.59