Accepting request 949441 from home:fstrba

fix build on older systems

OBS-URL: https://build.opensuse.org/request/show/949441
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libixion?expand=0&rev=41
This commit is contained in:
2022-01-27 13:28:12 +00:00
committed by Git OBS Bridge
parent a6ad8e50dc
commit 1fb9a98d5e
3 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
--- libixion-0.17.0/src/Makefile.am 2022-01-27 14:11:13.211161581 +0100
+++ libixion-0.17.0/src/Makefile.am 2022-01-27 14:11:40.751322069 +0100
@@ -19,7 +19,7 @@
table_handler.cpp
ixion_parser_LDADD = libixion/libixion-@IXION_API_VERSION@.la \
- $(BOOST_PROGRAM_OPTIONS_LIBS)
+ $(BOOST_PROGRAM_OPTIONS_LIBS) $(BOOST_SYSTEM_LIBS)
ixion_sorter_SOURCES = \
ixion_sorter.cpp \
--- libixion-0.17.0/src/python/Makefile.am 2022-01-27 14:11:13.215161603 +0100
+++ libixion-0.17.0/src/python/Makefile.am 2022-01-27 14:20:51.778555056 +0100
@@ -16,7 +16,7 @@
ixion_la_CPPFLAGS = -I$(top_srcdir)/include $(PYTHON_CFLAGS) $(MDDS_CFLAGS)
ixion_la_LIBADD = \
../libixion/libixion-@IXION_API_VERSION@.la \
- $(PYTHON_LIBS)
+ $(PYTHON_LIBS) $(BOOST_SYSTEM_LIBS)
if OSX

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 27 13:22:22 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* libixion-boost-system.patch
+ fix missing symbols from boost_system library
-------------------------------------------------------------------
Thu Nov 18 18:01:23 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libixion
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,14 @@ Summary: Threaded multi-target formula parser & interpreter
License: MIT
URL: https://gitlab.com/ixion/ixion
Source: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.xz
Patch0: libixion-boost-system.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: coreutils
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(mdds-2.0)
BuildRequires: pkgconfig(python3)
@@ -79,8 +83,11 @@ Python 3 bindings for %{name}.
%prep
%setup -q
%patch0 -p1
%build
libtoolize --force --copy
autoreconf -fi
%configure \
--disable-silent-rules \
--disable-static \