git: c9c996ad6b8f - main - emulators/wine-devel: Update 10.16 => 10.17

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 28 Oct 2025 23:44:39 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9c996ad6b8fb4a3cde65a0b1c517941dc4f77c7

commit c9c996ad6b8fb4a3cde65a0b1c517941dc4f77c7
Author:     Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2025-10-28 23:43:08 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-28 23:43:08 +0000

    emulators/wine-devel: Update 10.16 => 10.17
    
    Changelog:
    - EGL renderer used by default for OpenGL.
    - COMCTL32 split into separate v5 and v6 modules.
    - Better support for ANSI ODBC drivers.
    - Improved CPU info on FreeBSD.
    - Various bug fixes.
    https://gitlab.winehq.org/wine/wine/-/releases/wine-10.17
    
    Update the pkg-message.in to indicate that hwloc2 must be installed if
    the upgrade didn't already did it.
    
    PR:     290406
---
 emulators/wine-devel/Makefile             |  4 +++-
 emulators/wine-devel/distinfo             |  6 +++---
 emulators/wine-devel/files/pkg-message.in | 11 +++++++++++
 emulators/wine-devel/pkg-plist            |  4 ++++
 4 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 904dc99b83f7..6c5f6f831ea2 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wine
-DISTVERSION=	10.16
+DISTVERSION=	10.17
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	https://dl.winehq.org/wine/source/10.x/
@@ -16,6 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 ONLY_FOR_ARCHS=	amd64 i386
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex
+LIB_DEPENDS=	libhwloc.so:devel/hwloc2
 
 # Only devel/llvm17 and later come with necessary include files - PR274542
 USES=		bison cpe desktop-file-utils gmake llvm:min=17,build,noexport \
@@ -42,6 +43,7 @@ CONFIGURE_ARGS=	--verbose \
 		--without-gettext --without-gettextpo \
 		--without-gphoto \
 		--without-gssapi \
+		--with-hwloc \
 		--without-inotify \
 		--without-krb5 \
 		--with-mingw CROSSCC="clang" \
diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo
index 16223d1de1f3..3eb8e38adcfc 100644
--- a/emulators/wine-devel/distinfo
+++ b/emulators/wine-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759596682
-SHA256 (wine-10.16.tar.xz) = c5ed2742bff208c63b005bcfb91a2fc6cc49af6c6695bc8c0cf0fe6f4da60446
-SIZE (wine-10.16.tar.xz) = 32840688
+TIMESTAMP = 1760980140
+SHA256 (wine-10.17.tar.xz) = bbf8e7de32cea9fe305361d4af85e30492254c4bf02039ee26dac7a66701b4e6
+SIZE (wine-10.17.tar.xz) = 32902236
diff --git a/emulators/wine-devel/files/pkg-message.in b/emulators/wine-devel/files/pkg-message.in
index 18639d47533e..46bbc14aacc2 100644
--- a/emulators/wine-devel/files/pkg-message.in
+++ b/emulators/wine-devel/files/pkg-message.in
@@ -18,4 +18,15 @@ EOF
 $ wine64 regedit wayland.reg
 EOM
 }
+{ type: upgrade
+  maximum_version: "10.17"
+  message: <<EOM
+Since the version 10.17, wine require hwloc2 as an additional
+dependency. If it was not automatically installed, then install it
+for the 64bit part with:
+# pkg install hwloc2
+And for the 32bit part do as the user that would use wine:
+$ %%PREFIX%%/share/wine/pkg32.sh install hwloc2
+EOM
+}
 ]
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 9e0a8606ff60..81e6d25fa7ff 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -908,6 +908,8 @@ include/wine/windows/robuffer.h
 include/wine/windows/robuffer.idl
 include/wine/windows/roerrorapi.h
 include/wine/windows/rometadata.h
+include/wine/windows/rometadataapi.h
+include/wine/windows/rometadataapi.idl
 include/wine/windows/rometadataresolution.h
 include/wine/windows/roparameterizediid.h
 include/wine/windows/roparameterizediid.idl
@@ -1752,6 +1754,7 @@ lib/wine/%%WINEARCH%%-windows/colorcnv.dll
 lib/wine/%%WINEARCH%%-windows/combase.dll
 lib/wine/%%WINEARCH%%-windows/comcat.dll
 lib/wine/%%WINEARCH%%-windows/comctl32.dll
+lib/wine/%%WINEARCH%%-windows/comctl32_v6.dll
 lib/wine/%%WINEARCH%%-windows/comdlg32.dll
 lib/wine/%%WINEARCH%%-windows/coml2.dll
 %%WINE32%%lib/wine/%%WINEARCH%%-windows/comm.drv16
@@ -2612,6 +2615,7 @@ lib/wine/%%WINEARCH%%-windows/win32u.dll
 %%WINE32%%lib/wine/%%WINEARCH%%-windows/win87em.dll16
 %%WINE32%%lib/wine/%%WINEARCH%%-windows/winaspi.dll16
 lib/wine/%%WINEARCH%%-windows/winbio.dll
+lib/wine/%%WINEARCH%%-windows/winbrand.dll
 %%WINE32%%lib/wine/%%WINEARCH%%-windows/windebug.dll16
 lib/wine/%%WINEARCH%%-windows/windows.applicationmodel.dll
 lib/wine/%%WINEARCH%%-windows/windows.devices.bluetooth.dll