From 02cb44024f10ca4c4097721ab6f7837958d0091940c6a33f6758505c2f624653 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 11 Nov 2015 11:36:21 +0000 Subject: [PATCH] Accepting request 343802 from home:namtrac:boost - Fix compilation with boost 1.59 OBS-URL: https://build.opensuse.org/request/show/343802 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/librevenge?expand=0&rev=11 --- librevenge.changes | 5 +++++ librevenge.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/librevenge.changes b/librevenge.changes index 6a92c12..9fefd3f 100644 --- a/librevenge.changes +++ b/librevenge.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 11 11:15:58 UTC 2015 - idonmez@suse.com + +- Fix compilation with boost 1.59 + ------------------------------------------------------------------- Fri Jan 2 13:13:55 UTC 2015 - tchvatal@suse.com diff --git a/librevenge.spec b/librevenge.spec index fc5a828..6872f8f 100644 --- a/librevenge.spec +++ b/librevenge.spec @@ -1,7 +1,7 @@ # # spec file for package librevenge # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,8 @@ The %{name}-doc package contains documentation files for %{name}. %setup -q %build +# Fix build with boost 1.59 +export CPPFLAGS="-DBOOST_ERROR_CODE_HEADER_ONLY" %configure \ --disable-static \ --disable-werror \