Update to 0.16.8
Fix a potential BTree crash with GCC 10
This commit is contained in:
parent
e470a3a529
commit
8b602d47e0
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
||||
/sord-0.16.2.tar.bz2
|
||||
/sord-0.16.4.tar.bz2
|
||||
/sord-0.16.6.tar.bz2
|
||||
/sord-0.16.8.tar.bz2
|
||||
|
2642
sord-update-zix.patch
Normal file
2642
sord-update-zix.patch
Normal file
File diff suppressed because it is too large
Load Diff
18
sord.spec
18
sord.spec
@ -2,13 +2,15 @@
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
|
||||
Name: sord
|
||||
Version: 0.16.6
|
||||
Release: 2%{?dist}
|
||||
Version: 0.16.8
|
||||
Release: 1%{?dist}
|
||||
Summary: A lightweight Resource Description Framework (RDF) C library
|
||||
|
||||
License: ISC
|
||||
URL: http://drobilla.net/software/sord/
|
||||
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
||||
# This fixes a potential BTree crash with GCC 10, patch from upstream
|
||||
Patch0: %{name}-update-zix.patch
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: doxygen
|
||||
@ -36,7 +38,7 @@ Framework (RDF) data in memory.
|
||||
This package contains the headers and development libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
# Do not run ldconfig, and add our optflags
|
||||
sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
||||
-e "s|cflags = [ '-DSORD_INTERNAL' ]\
|
||||
@ -44,12 +46,6 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
# Work around a possible GCC 10.1 bug
|
||||
# GCC 10.1 crashes on these arches in for loop with ZixBTreeIter
|
||||
%ifarch %{power64} %{arm} aarch64 s390 s390x
|
||||
CFLAGS+=" -O1"
|
||||
CXXFLAGS+=" -O1"
|
||||
%endif
|
||||
export LINKFLAGS="%{__global_ldflags}"
|
||||
%{python3} waf configure \
|
||||
--prefix=%{_prefix} \
|
||||
@ -84,6 +80,10 @@ install -pm 644 AUTHORS NEWS README.md %{buildroot}%{_pkgdocdir}
|
||||
%{_mandir}/man3/%{name}*.3*
|
||||
|
||||
%changelog
|
||||
* Sun Feb 28 2021 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.8-1
|
||||
- Update to 0.16.8
|
||||
- Fix a potential BTree crash with GCC 10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (sord-0.16.6.tar.bz2) = 1d3c2bf47ff7e4b533e4e737e2ece8e29bace78bb00c41a252ad5c583abdcba3baa05b189cb8651c212861a2eea3c690354c99d684fd0f343b40e74c94572f98
|
||||
SHA512 (sord-0.16.8.tar.bz2) = 24ed50de8e5bb321e557bac6d3e441b2ed49adabf828bf0e1b33a080c89306dde80443dc8b563098fcc184c4d6e53b7e716b523ddccdf56d08301d1b0120f2b2
|
||||
|
Loading…
Reference in New Issue
Block a user