From f7adec08906fedffcc82668f199d574f490ccb7d Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 9 Sep 2013 12:42:27 +0200 Subject: [PATCH] do not compile in C++11 mode --- libmwaw.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmwaw.spec b/libmwaw.spec index f46ecda..5e9bde4 100644 --- a/libmwaw.spec +++ b/libmwaw.spec @@ -14,6 +14,7 @@ License: (LGPLv2+ or MPLv2.0) and BSD URL: http://sourceforge.net/projects/libmwaw/ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz +BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: libwpd-devel @@ -55,8 +56,7 @@ Supported output formats are XHTML, text and raw. %build -%configure --disable-static --disable-werror --disable-zip --enable-docs \ - --with-sharedptr=c++11 CXXFLAGS="$CXXFLAGS -std=c++11" +%configure --disable-static --disable-werror --disable-zip --enable-docs sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \