Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package htmlcxx for openSUSE:Factory checked in at 2021-06-04 00:33:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/htmlcxx (Old) and /work/SRC/openSUSE:Factory/.htmlcxx.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "htmlcxx" Fri Jun 4 00:33:31 2021 rev:2 rq:897039 version:0.87 Changes: -------- --- /work/SRC/openSUSE:Factory/htmlcxx/htmlcxx.changes 2021-04-26 16:40:13.554134838 +0200 +++ /work/SRC/openSUSE:Factory/.htmlcxx.new.1898/htmlcxx.changes 2021-06-04 00:33:40.996896646 +0200 @@ -1,0 +2,6 @@ +Tue Jun 1 20:00:32 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Add GCC 11 compatibility fix: + * 0001-Remove-throw-specifications.patch + +------------------------------------------------------------------- New: ---- 0001-Remove-throw-specifications.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ htmlcxx.spec ++++++ --- /var/tmp/diff_new_pack.Y8Uu4d/_old 2021-06-04 00:33:41.672897171 +0200 +++ /var/tmp/diff_new_pack.Y8Uu4d/_new 2021-06-04 00:33:41.676897174 +0200 @@ -1,7 +1,7 @@ # # spec file for package htmlcxx # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2014 Klaus Singvogel, Kaierberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -25,7 +25,8 @@ Group: Productivity/File utilities URL: http://htmlcxx.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -Patch1: %{name}-0.84-cstddef.patch +Patch0: %{name}-0.84-cstddef.patch +Patch1: 0001-Remove-throw-specifications.patch BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -49,28 +50,25 @@ developing applications that use htmlcxx. %prep -%setup -q -%patch1 -p1 +%autosetup -p1 + +%build +# Don't use the %%configure macro ./configure \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --libdir=%{_libdir} \ --mandir=%{_mandir} -%build -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} \ - PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} \ - OPTFLAGS="%{optflags}" \ - OPTLDFLAGS="" +%make_install find %{buildroot} -type f -name "*.la" -delete -print %check -make %{?_smp_mflags} check +%make_build check %post -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig ++++++ 0001-Remove-throw-specifications.patch ++++++ >From 4df6af4271924cb85166c14a9c012966143f5272 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <christo...@krop.fr> Date: Tue, 1 Jun 2021 21:59:57 +0200 Subject: [PATCH] Remove throw specifications C++ throw specifications were deprecated in C++11 and dropped in C++17. --- html/CharsetConverter.cc | 2 +- html/CharsetConverter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/CharsetConverter.cc b/html/CharsetConverter.cc index 4cf50c7..f0358fc 100644 --- a/html/CharsetConverter.cc +++ b/html/CharsetConverter.cc @@ -7,7 +7,7 @@ using namespace std; using namespace htmlcxx; -CharsetConverter::CharsetConverter(const string &from, const string &to) throw (Exception) +CharsetConverter::CharsetConverter(const string &from, const string &to) { mIconvDescriptor = iconv_open(to.c_str(), from.c_str()); if (mIconvDescriptor == (iconv_t)(-1)) diff --git a/html/CharsetConverter.h b/html/CharsetConverter.h index e5d21d5..11fa909 100644 --- a/html/CharsetConverter.h +++ b/html/CharsetConverter.h @@ -17,7 +17,7 @@ namespace htmlcxx : std::runtime_error(arg) {} }; - CharsetConverter(const std::string &from, const std::string &to) throw (Exception); + CharsetConverter(const std::string &from, const std::string &to); ~CharsetConverter(); std::string convert(const std::string &input); -- 2.31.1