Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mingw64-headers for openSUSE:Factory
checked in at 2021-07-10 22:54:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw64-headers (Old)
and /work/SRC/openSUSE:Factory/.mingw64-headers.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw64-headers"
Sat Jul 10 22:54:45 2021 rev:4 rq:905554 version:9.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw64-headers/mingw64-headers.changes
2020-12-10 15:59:27.622929141 +0100
+++
/work/SRC/openSUSE:Factory/.mingw64-headers.new.2625/mingw64-headers.changes
2021-07-10 22:55:15.999404680 +0200
@@ -1,0 +2,17 @@
+Thu Jul 8 07:13:22 UTC 2021 - Fridrich Strba <[email protected]>
+
+- Added patch:
+ * mingw-w64-v9.0.0-strnlen_s.patch
+ + work around the "multiple definition of `strnlen_s'" error
+ + the function still accessible by defining _NEEDS_STRNLEN_S
+ before inclusion of the header
+
+-------------------------------------------------------------------
+Fri Jul 2 12:34:00 UTC 2021 - Jan Engelhardt <[email protected]>
+
+- Update to release 9.0.0
+ * Various new and updated API headers
+ * at_quick_exit implementation
+ * dism API
+
+-------------------------------------------------------------------
Old:
----
mingw-w64-v8.0.0.tar.bz2
New:
----
mingw-w64-v9.0.0-strnlen_s.patch
mingw-w64-v9.0.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mingw64-headers.spec ++++++
--- /var/tmp/diff_new_pack.ioGaEl/_old 2021-07-10 22:55:16.687399370 +0200
+++ /var/tmp/diff_new_pack.ioGaEl/_new 2021-07-10 22:55:16.691399339 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mingw64-headers
#
-# Copyright (c) 2020 SUSE LLC
+# 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
@@ -17,7 +17,7 @@
Name: mingw64-headers
-Version: 8.0.0
+Version: 9.0.0
Release: 0
Summary: MinGW-w64 headers for Win32 and Win64
License: SUSE-Public-Domain
@@ -25,11 +25,11 @@
URL: http://mingw-w64.sf.net/
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
Source1000: %name-rpmlintrc
+Patch0: mingw-w64-v9.0.0-strnlen_s.patch
BuildRequires: mingw64-filesystem
BuildRequires: xz
#!BuildIgnore: post-build-checks
Requires: mingw64-unistd-pthread-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@@ -50,24 +50,22 @@
an actual pthread implementation (like winpthreads) is installed.
%prep
-%setup -q -n mingw-w64-v%{version}/mingw-w64-headers
+%autosetup -n mingw-w64-v%version/mingw-w64-headers -p2
%build
%_mingw64_configure \
--enable-sdk=all \
--enable-secure-api
-make %{?_smp_mflags}
+%make_build
%install
%make_install
%files
-%defattr(-,root,root)
%_mingw64_includedir/
%exclude %_mingw64_includedir/pthread_*.h
%files dummy-pthread
-%defattr(-,root,root)
%dir %_mingw64_includedir
%_mingw64_includedir/pthread_*.h
++++++ mingw-w64-v9.0.0-strnlen_s.patch ++++++
--- mingw-w64-v9.0.0/mingw-w64-headers/crt/sec_api/string_s.h 2021-05-22
14:34:25.000000000 +0200
+++ mingw-w64-v9.0.0/mingw-w64-headers/crt/sec_api/string_s.h 2021-07-08
09:10:48.082143084 +0200
@@ -43,9 +43,11 @@
_CRTIMP errno_t __cdecl strcat_s(char *_Dst, rsize_t _SizeInBytes, const
char * _Src);
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, strcat_s, char, _Dest, const
char *, _Source)
+#ifdef _NEEDS_STRNLEN_S
__forceinline size_t __cdecl strnlen_s(const char * _src, size_t _count) {
return _src ? strnlen(_src, _count) : 0;
}
+#endif
_SECIMP errno_t __cdecl memmove_s(void *_dest,size_t _numberOfElements,const
void *_src,size_t _count);
#ifndef _WSTRING_S_DEFINED
++++++ mingw-w64-v8.0.0.tar.bz2 -> mingw-w64-v9.0.0.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/mingw64-headers/mingw-w64-v8.0.0.tar.bz2
/work/SRC/openSUSE:Factory/.mingw64-headers.new.2625/mingw-w64-v9.0.0.tar.bz2
differ: char 11, line 1