git: f4029689b8dd - main - net/freerdp3: Update 3.7.0 → 3.8.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 03 Sep 2024 21:35:05 UTC
The branch main has been updated by vvd:

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

commit f4029689b8dd536a990245a3a99abd2754935b6c
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-09-03 21:33:00 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-09-03 21:33:00 +0000

    net/freerdp3: Update 3.7.0 → 3.8.0
    
    Changelog:      https://github.com/FreeRDP/FreeRDP/releases/tag/3.8.0
---
 net/freerdp3/Makefile                                       | 13 ++++++++-----
 net/freerdp3/distinfo                                       |  8 +++++---
 .../files/patch-channels_rdpdr_client_CMakeLists.txt        |  4 ++--
 net/freerdp3/files/patch-winpr_libwinpr_comm_CMakeLists.txt | 11 +++++++++++
 4 files changed, 26 insertions(+), 10 deletions(-)

diff --git a/net/freerdp3/Makefile b/net/freerdp3/Makefile
index 17784fbe557f..326bac24f2d4 100644
--- a/net/freerdp3/Makefile
+++ b/net/freerdp3/Makefile
@@ -1,10 +1,14 @@
 PORTNAME=	freerdp
-DISTVERSION=	3.7.0
+DISTVERSION=	3.8.0
 CATEGORIES=	net comms
 MASTER_SITES=	https://pub.freerdp.com/releases/ \
 		https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/
 PKGNAMESUFFIX=	3
 
+PATCH_SITES=	https://github.com/FreeRDP/FreeRDP/commit/
+# fix _Unwind_GetLanguageSpecificData
+PATCHFILES+=	6fb7bfd043d159d3819486fb601b598102cca823.patch:-p1
+
 MAINTAINER=	vvd@FreeBSD.org
 COMMENT=	Free implementation of Remote Desktop Protocol
 WWW=		https://www.freerdp.com/
@@ -22,13 +26,12 @@ BROKEN_SSL_REASON_libressl-devel=	fails to compile: no member named 'alert_dispa
 USE_LDCONFIG=	yes
 USE_XORG=	ice sm x11 xext
 
-CMAKE_ARGS+=	${CMAKE_ARGS_${ARCH}}
 CMAKE_ON=	CHANNEL_URBDRC_CLIENT RDTK_FORCE_STATIC_BUILD UWAC_FORCE_STATIC_BUILD \
 		WITH_BINARY_VERSIONING WITH_CHANNELS WITH_OPENSSL WITH_OSS WITH_ZLIB \
 		WITH_FREERDP_DEPRECATED WITH_FREERDP_DEPRECATED_COMMANDLINE WITH_WINPR_DEPRECATED
-CMAKE_OFF=	CHANNEL_TSMF WITH_DSP_EXPERIMENTAL WITH_FUSE WITH_GPROF WITH_GSTREAMER_0_10 \
-		WITH_GSTREAMER_1_0 WITH_IPP WITH_LIBSYSTEMD WITH_MBEDTLS \
-		WITH_OPENCL WITH_OPENSLES WITH_PROFILER WITH_SAMPLE \
+CMAKE_OFF=	CHANNEL_SERIAL CHANNEL_TSMF WITH_DSP_EXPERIMENTAL WITH_FUSE WITH_GPROF \
+		WITH_GSTREAMER_0_10 WITH_GSTREAMER_1_0 WITH_IPP WITH_LIBSYSTEMD \
+		WITH_MBEDTLS WITH_OPENCL WITH_OPENSLES WITH_PROFILER WITH_SAMPLE \
 		WITH_SANITIZE_ADDRESS WITH_SANITIZE_MEMORY WITH_SANITIZE_THREAD \
 		WITH_SERVER WITH_SERVER_CHANNELS WITH_SERVER_INTERFACE \
 		WITH_SMARTCARD_INSPECT WITH_THIRD_PARTY WITH_VALGRIND_MEMCHECK
diff --git a/net/freerdp3/distinfo b/net/freerdp3/distinfo
index 2feef4a66ed8..51a5358868cb 100644
--- a/net/freerdp3/distinfo
+++ b/net/freerdp3/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1723200489
-SHA256 (freerdp-3.7.0.tar.gz) = 53e392b4a3f38a874322e611608f925e8041eef7e0060a58982fa419e58d4dd2
-SIZE (freerdp-3.7.0.tar.gz) = 10223833
+TIMESTAMP = 1725381932
+SHA256 (freerdp-3.8.0.tar.gz) = b068fff34e6256806deb5bcdfe9a213955850abe056d162f2b166510e4a63823
+SIZE (freerdp-3.8.0.tar.gz) = 10235403
+SHA256 (6fb7bfd043d159d3819486fb601b598102cca823.patch) = 3fb0428ed3caaacb9f8cef0a115b667ef43dc39149ce1687ae2332752a1d82ea
+SIZE (6fb7bfd043d159d3819486fb601b598102cca823.patch) = 2683
diff --git a/net/freerdp3/files/patch-channels_rdpdr_client_CMakeLists.txt b/net/freerdp3/files/patch-channels_rdpdr_client_CMakeLists.txt
index c7d80e030152..a0e4df8dcfd4 100644
--- a/net/freerdp3/files/patch-channels_rdpdr_client_CMakeLists.txt
+++ b/net/freerdp3/files/patch-channels_rdpdr_client_CMakeLists.txt
@@ -1,6 +1,6 @@
---- channels/rdpdr/client/CMakeLists.txt.orig	2024-01-05 17:52:01 UTC
+--- channels/rdpdr/client/CMakeLists.txt.orig	2024-09-03 15:27:18 UTC
 +++ channels/rdpdr/client/CMakeLists.txt
-@@ -24,6 +24,7 @@ set(${MODULE_PREFIX}_SRCS
+@@ -30,6 +30,7 @@ set(${MODULE_PREFIX}_SRCS
  	irp.h
  	devman.c
  	devman.h
diff --git a/net/freerdp3/files/patch-winpr_libwinpr_comm_CMakeLists.txt b/net/freerdp3/files/patch-winpr_libwinpr_comm_CMakeLists.txt
new file mode 100644
index 000000000000..b5a6f671ff79
--- /dev/null
+++ b/net/freerdp3/files/patch-winpr_libwinpr_comm_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- winpr/libwinpr/comm/CMakeLists.txt.orig	2024-09-03 16:32:12 UTC
++++ winpr/libwinpr/comm/CMakeLists.txt
+@@ -18,7 +18,7 @@ set(MODULE_PREFIX "WINPR_COMM")
+ set(MODULE_NAME "winpr-comm")
+ set(MODULE_PREFIX "WINPR_COMM")
+ 
+-if(UNIX AND NOT ANDROID AND NOT APPLE)
++if(UNIX AND NOT ANDROID AND NOT APPLE AND NOT FREEBSD)
+ 	set(${MODULE_PREFIX}_SRCS
+ 		comm.c
+ 		comm.h