Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mimetic for openSUSE:Factory checked in at 2021-06-01 10:38:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mimetic (Old) and /work/SRC/openSUSE:Factory/.mimetic.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mimetic" Tue Jun 1 10:38:34 2021 rev:3 rq:896099 version:0.9.8 Changes: -------- --- /work/SRC/openSUSE:Factory/mimetic/mimetic.changes 2019-08-27 10:23:28.839931197 +0200 +++ /work/SRC/openSUSE:Factory/.mimetic.new.1898/mimetic.changes 2021-06-01 10:40:08.973087608 +0200 @@ -1,0 +2,6 @@ +Sat May 29 13:03:40 UTC 2021 - ???????? ???????????? <i...@ilya.pp.ua> + +- Refreshed spec-file via spec-cleaner and manual optimizations. +- Added mimetic-gcc11-fix.patch and fixed gcc11 build. + +------------------------------------------------------------------- New: ---- mimetic-gcc11-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mimetic.spec ++++++ --- /var/tmp/diff_new_pack.phagB4/_old 2021-06-01 10:40:09.377088296 +0200 +++ /var/tmp/diff_new_pack.phagB4/_new 2021-06-01 10:40:09.377088296 +0200 @@ -1,7 +1,7 @@ # # spec file for package mimetic # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,10 +21,10 @@ Release: 0 Summary: A C++ MIME library License: MIT -Group: Development/Libraries/C and C++ URL: http://www.codesink.org/mimetic_mime_library.html Source0: http://www.codesink.org/download/%{name}-%{version}.tar.gz Patch0: signedness-fix.patch +Patch1: %{name}-gcc11-fix.patch BuildRequires: gcc-c++ %description @@ -37,7 +37,6 @@ %package -n lib%{name}0 Summary: A C++ MIME library -Group: System/Libraries %description -n lib%{name}0 It has been built around the standard library; there are no custom @@ -48,7 +47,6 @@ %package -n lib%{name}-devel Summary: Development files for %{name} -Group: Development/Libraries/C and C++ Requires: lib%{name}0 = %{version} %description -n lib%{name}-devel @@ -56,8 +54,7 @@ developing applications that use %{name}. %prep -%setup -q -%autopatch -p1 +%autosetup -p1 %build %configure --disable-static @@ -68,7 +65,7 @@ rm %{buildroot}%{_libdir}/lib%{name}.la %check -make %{?_smp_mflags} check +%make_build check %post -n lib%{name}0 -p /sbin/ldconfig %postun -n lib%{name}0 -p /sbin/ldconfig ++++++ mimetic-gcc11-fix.patch ++++++ diff -Pdpru mimetic-0.9.8.orig/mimetic/os/mmfile.cxx mimetic-0.9.8/mimetic/os/mmfile.cxx --- mimetic-0.9.8.orig/mimetic/os/mmfile.cxx 2014-06-17 12:12:00.000000000 +0400 +++ mimetic-0.9.8/mimetic/os/mmfile.cxx 2021-05-29 15:54:16.102377999 +0300 @@ -57,7 +57,7 @@ bool MMFile::open(int mode) bool MMFile::map() { m_beg = (char*) mmap(0, m_st.st_size, PROT_READ, MAP_SHARED,m_fd,0); - if(m_beg > 0) + if(m_beg != MAP_FAILED) { m_end = m_beg + m_st.st_size; #if HAVE_MADVISE