drop dependency on boost

f41
David Tardon 9 years ago
parent 063721deb8
commit 03f610e4d7

@ -0,0 +1,24 @@
From bc6f0f3a006123a89d1321038edeb75f2fd67c6f Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Sun, 30 Aug 2015 11:21:29 +0200
Subject: [PATCH] add missing include
---
src/lib/WPS8.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/WPS8.cpp b/src/lib/WPS8.cpp
index 04c1e57..8d39fa8 100644
--- a/src/lib/WPS8.cpp
+++ b/src/lib/WPS8.cpp
@@ -19,6 +19,7 @@
* applicable instead of those above.
*/
+#include <algorithm>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
--
2.4.3

@ -9,11 +9,12 @@ License: LGPLv2+ or MPLv2.0
URL: http://libwps.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: help2man
BuildRequires: pkgconfig(librevenge-0.0)
Patch0: 0001-add-missing-include.patch
%description
%{name} is a library for import of Microsoft Works text documents,
spreadsheets and (in a limited way) databases.
@ -45,7 +46,8 @@ The %{name}-doc package contains documentation files for %{name}
%autosetup -p1
%build
%configure --disable-silent-rules --disable-static --disable-werror
export CXXFLAGS=-std=c++11
%configure --disable-silent-rules --disable-static --disable-werror --with-sharedptr=c++11
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}

Loading…
Cancel
Save