[packages/libvisio] - fix building with boost 1.59 - rel 3
baggins
baggins at pld-linux.org
Tue Nov 17 08:23:57 CET 2015
commit aca54bdb68ce69275ae16a2b4b8b7b8b2dbc5a9c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Nov 17 08:23:42 2015 +0100
- fix building with boost 1.59
- rel 3
boost-1.59.patch | 11 +++++++++++
libvisio.spec | 9 ++++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/libvisio.spec b/libvisio.spec
index 4aae103..0a50191 100644
--- a/libvisio.spec
+++ b/libvisio.spec
@@ -6,11 +6,12 @@ Summary: A library providing ability to interpret and import Visio diagrams
Summary(pl.UTF-8): Biblioteka umożliwiająca interpretowanie i importowanie diagramów Visio
Name: libvisio
Version: 0.1.3
-Release: 2
+Release: 3
License: MPL v2.0
Group: Libraries
Source0: http://dev-www.libreoffice.org/src/libvisio/%{name}-%{version}.tar.xz
# Source0-md5: fda521a18bbfccc5f034ea02119e7998
+Patch0: boost-1.59.patch
URL: http://www.freedesktop.org/wiki/Software/libvisio
BuildRequires: boost-devel >= 1.36
BuildRequires: doxygen
@@ -99,8 +100,14 @@ Aktualnie obsługiwane są XHTML i raw.
%prep
%setup -q
+%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--disable-silent-rules \
%{?with_static_libs:--enable-static}
diff --git a/boost-1.59.patch b/boost-1.59.patch
new file mode 100644
index 0000000..2dc91fb
--- /dev/null
+++ b/boost-1.59.patch
@@ -0,0 +1,11 @@
+--- libvisio-0.1.3/configure.ac~ 2015-07-25 09:29:53.000000000 +0200
++++ libvisio-0.1.3/configure.ac 2015-11-17 08:21:47.942957464 +0100
+@@ -286,7 +286,7 @@
+ ])
+ ])
+ LIBVISIO_CXXFLAGS="${REVENGE_CFLAGS} ${LIBXML_CFLAGS} ${ZLIB_CFLAGS} ${ICU_CFLAGS}"
+-LIBVISIO_LIBS="${REVENGE_LIBS} ${LIBXML_LIBS} ${ZLIB_LIBS} ${ICU_LIBS}"
++LIBVISIO_LIBS="${REVENGE_LIBS} ${LIBXML_LIBS} ${ZLIB_LIBS} ${ICU_LIBS} -lboost_system"
+ AC_SUBST(LIBVISIO_CXXFLAGS)
+ AC_SUBST(LIBVISIO_LIBS)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libvisio.git/commitdiff/aca54bdb68ce69275ae16a2b4b8b7b8b2dbc5a9c
More information about the pld-cvs-commit
mailing list