From aca54bdb68ce69275ae16a2b4b8b7b8b2dbc5a9c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 17 Nov 2015 08:23:42 +0100 Subject: [PATCH] - fix building with boost 1.59 - rel 3 --- boost-1.59.patch | 11 +++++++++++ libvisio.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 boost-1.59.patch 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) + 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} -- 2.44.0