summaryrefslogtreecommitdiff
path: root/emulators/wine-devel/files
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2025-04-27 08:56:31 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2025-04-27 08:56:31 +0000
commitb063b15d08bf4bc4d6150bb63220164fa32b4fc4 (patch)
treef10a90a49c8ed360fcaf0dc4698beca808ddc7bb /emulators/wine-devel/files
parentlang/julia: extension of expiry date (diff)
emulators/wine-devel: Update to Wine 10.5
This includes the following changes: - Support for larger page sizes on ARM64 (which we don't enable yet). - Pairing support in the Bluetooth driver. - Vulkan H.264 decoding. - Various bug fixes. Include files/patch-dlls_ntdll_signal_x86_64.c, a patch of mine to fix a build issue, that went upstream after this snapshot.
Diffstat (limited to 'emulators/wine-devel/files')
-rw-r--r--emulators/wine-devel/files/patch-dlls_ntdll_signal_x86_64.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-dlls_ntdll_signal_x86_64.c b/emulators/wine-devel/files/patch-dlls_ntdll_signal_x86_64.c
new file mode 100644
index 000000000000..662ffc968b55
--- /dev/null
+++ b/emulators/wine-devel/files/patch-dlls_ntdll_signal_x86_64.c
@@ -0,0 +1,32 @@
+--- UTC
+commit 52cb060f41e96dfd2140a32b4ef70b1098f4b449
+Author: Gerald Pfeifer <gerald@pfeifer.com>
+Date: Sun Apr 6 23:19:45 2025 +0200
+
+ ntdll: Fix build on platforms without getauxval.
+
+ Commit b1b5105ceb moved the following block
+
+ #ifdef AT_HWCAP2
+ if (getauxval( AT_HWCAP2 ) & 2) syscall_flags |= SYSCALL_HAVE_WRFSGSBASE;
+ #endif
+
+ out of an #ifdef __linux__ block and it now causes failures on FreeBSD
+ and others which do not have getauxval.
+
+--- dlls/ntdll/unix/signal_x86_64.c
++++ dlls/ntdll/unix/signal_x86_64.c
+@@ -2504,11 +2504,11 @@ void signal_init_process(void)
+
+ if (cpu_info.ProcessorFeatureBits & CPU_FEATURE_XSAVE) syscall_flags |= SYSCALL_HAVE_XSAVE;
+ if (xstate_compaction_enabled) syscall_flags |= SYSCALL_HAVE_XSAVEC;
++
++#ifdef __linux__
+ #ifdef AT_HWCAP2
+ if (getauxval( AT_HWCAP2 ) & 2) syscall_flags |= SYSCALL_HAVE_WRFSGSBASE;
+ #endif
+-
+-#ifdef __linux__
+ if (wow_teb)
+ {
+ int sel;