]> git.pld-linux.org Git - packages/libvisio.git/commitdiff
- fix building with boost 1.59 auto/th/libvisio-0.1.3-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Nov 2015 07:23:42 +0000 (08:23 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Nov 2015 07:23:42 +0000 (08:23 +0100)
- rel 3

boost-1.59.patch [new file with mode: 0644]
libvisio.spec

diff --git a/boost-1.59.patch b/boost-1.59.patch
new file mode 100644 (file)
index 0000000..2dc91fb
--- /dev/null
@@ -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)
index 4aae10385f62e83f5c17585cbe008843d54f5052..0a501917e724616becee470b2256c7a3aa11c86c 100644 (file)
@@ -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}
This page took 0.09273 seconds and 4 git commands to generate.