From 07537df9e549aca1189b0020007c698a4ea66f4c24daa98f5cbc524ac9c3a217 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 11 Nov 2015 11:36:12 +0000 Subject: [PATCH] Accepting request 343800 from home:namtrac:boost - Fix compilation with boost 1.59 OBS-URL: https://build.opensuse.org/request/show/343800 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=32 --- libvisio.changes | 5 +++++ libvisio.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/libvisio.changes b/libvisio.changes index d8bd63f..00a1be4 100644 --- a/libvisio.changes +++ b/libvisio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 11 11:13:54 UTC 2015 - idonmez@suse.com + +- Fix compilation with boost 1.59 + ------------------------------------------------------------------- Fri Aug 28 07:46:16 UTC 2015 - tchvatal@suse.com diff --git a/libvisio.spec b/libvisio.spec index a4e9751..d046bfc 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -88,6 +88,8 @@ This package contains tools to work with documents in MS Visio file-format. %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" +# Fix compilation with boost 1.59 +export CPPFLAGS="-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED" %configure \ --disable-werror \ --disable-static \