From 3d9da4d5fc733c2344493b1d718446a1d0e300da Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 30 Aug 2015 08:52:56 +0200 Subject: [PATCH] Resolves: rhbz#1258127 fix build with boost 1.59 --- libcdr.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libcdr.spec b/libcdr.spec index 37c71c2..6a5898e 100644 --- a/libcdr.spec +++ b/libcdr.spec @@ -2,7 +2,7 @@ Name: libcdr Version: 0.1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A library for import of CorelDRAW drawings # the only Public Domain source is src/lib/CDRColorProfiles.h @@ -50,6 +50,8 @@ Currently supported: XHTML, text, raw. %setup -q %build +# rhbz#1258127 fix build with boost 1.59 +export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY %configure --disable-static --disable-werror sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ @@ -106,6 +108,9 @@ install -m 0644 cdr2*.1 cmx2*.1 %{buildroot}/%{_mandir}/man1 %{_mandir}/man1/cmx2xhtml.1* %changelog +* Sun Aug 30 2015 David Tardon - 0.1.1-7 +- Resolves: rhbz#1258127 fix build with boost 1.59 + * Wed Jul 29 2015 Fedora Release Engineering - 0.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159