summaryrefslogtreecommitdiff
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
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.
-rw-r--r--emulators/wine-devel/Makefile2
-rw-r--r--emulators/wine-devel/distinfo6
-rw-r--r--emulators/wine-devel/files/patch-dlls_ntdll_signal_x86_64.c32
-rw-r--r--emulators/wine-devel/pkg-plist1
4 files changed, 37 insertions, 4 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 418350d6fb97..a3c0df7c1b40 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= wine
-DISTVERSION= 10.4
+DISTVERSION= 10.5
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/10.x/
diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo
index 39471cd7590b..c4e407761e2a 100644
--- a/emulators/wine-devel/distinfo
+++ b/emulators/wine-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745621306
-SHA256 (wine-10.4.tar.xz) = a09019ce5c42ba06ba91ec423d49d8f2a9a8eac4c1a9230c73e1d119639d5e92
-SIZE (wine-10.4.tar.xz) = 32326532
+TIMESTAMP = 1745652916
+SHA256 (wine-10.5.tar.xz) = c036ec1ef47674774a5f994583022e9e2eb68fe8fc18b3a8c79e685b3bec89bc
+SIZE (wine-10.5.tar.xz) = 32353760
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;
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 150fe2f0a3c5..90ac42601e40 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -848,6 +848,7 @@ include/wine/windows/perhist.idl
include/wine/windows/physicalmonitorenumerationapi.h
include/wine/windows/pktdef.h
include/wine/windows/poppack.h
+include/wine/windows/powersetting.h
include/wine/windows/powrprof.h
include/wine/windows/prntvpt.h
include/wine/windows/processthreadsapi.h