Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

3 changed files with 48 additions and 13 deletions

View file

@ -1 +1 @@
SHA512 (wine-mono-10.4.1-src.tar.xz) = e2d227f003932a6dd3115492ee91ccf0682181e317d66d498edfa27302ee164bf1f308a66c1323fc246b9a759500454922312eb0529baf9e7584a78ede5ca60a
SHA512 (wine-mono-10.3.0-src.tar.xz) = 42ed5d1feb1aa8e4ada7b86e801fe972937ad7eea54a6bee4b9b85806cd5c199ae1cb775de0269b7be541a4fd435eeb1d14b11766a4c71d35ac0774b71eb5017

View file

@ -0,0 +1,43 @@
The thread start routine must return void *, and int and void *
are distinct types. Compilers increasingly issue errors instead
of warnings for such type errors, and this causes the configure
probe to fail unconditionally, even if the system supports
__thread variables.
Submitted upstream: <https://github.com/mono/mono/pull/21730>
diff --git a/mono/configure.ac b/mono/configure.ac
index bbbd1622d9728859..5a3a5770c8a3cdb6 100644
--- a/mono/configure.ac
+++ b/mono/configure.ac
@@ -2833,14 +2833,16 @@ if test x$host_win32 = xno; then
__thread int i;
static int res1, res2;
- void thread_main (void *arg)
+ void *thread_main (void *parg)
{
+ int arg = *(int *)parg;
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
+ return NULL;
}
int main () {
@@ -2848,8 +2850,10 @@ if test x$host_win32 = xno; then
i = 5;
- pthread_create (&t1, NULL, thread_main, 1);
- pthread_create (&t2, NULL, thread_main, 2);
+ int one = 1;
+ pthread_create (&t1, NULL, thread_main, &one);
+ int two = 2;
+ pthread_create (&t2, NULL, thread_main, &two);
pthread_join (t1, NULL);
pthread_join (t2, NULL);

View file

@ -3,8 +3,8 @@
%{?mingw_package_header}
Name: wine-mono
Version: 10.4.1
Release: 3%{?dist}
Version: 10.3.0
Release: 1%{?dist}
Summary: Mono library required for Wine
License: GPL-2.0-or-later AND LGPL-2.1-only AND MIT AND BSD-4-Clause-UC AND MS-PL AND MPL-1.1
@ -12,6 +12,7 @@ URL: http://wiki.winehq.org/Mono
# https://github.com/madewokherd/wine-mono
Source0: https://dl.winehq.org/wine/wine-mono/%{version}/wine-mono-%{version}-src.tar.xz
Patch0: wine-mono-7.3.0-iconv.patch
Patch1: wine-mono-configure-c99.patch
# see git://github.com/madewokherd/wine-mono
@ -57,7 +58,7 @@ BuildRequires: dos2unix
Requires: wine-filesystem
# Bundles FAudio, SDL3
# Bundles FAudio, libtheorafile, libmojoshader, SDL2, SDL2_image
%description
Windows Mono library required for Wine.
@ -103,15 +104,6 @@ cp -rp image/* \
%{_datadir}/wine/mono/wine-mono-%{version}/
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 10.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 10.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jan 14 2026 Michael Cronenworth <mike@cchtml.com> - 10.4.1-1
- version upgrade
* Sun Nov 02 2025 Michael Cronenworth <mike@cchtml.com> - 10.3.0-1
- version upgrade