From 47526302041193977c698ae4309d87e3870b43bf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Dec 2023 22:59:37 +0000 Subject: gentoo auto-resync : 06:12:2023 - 22:59:37 --- net-misc/freerdp/files/freerdp-2.11.2-clang.patch | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 net-misc/freerdp/files/freerdp-2.11.2-clang.patch (limited to 'net-misc/freerdp/files') diff --git a/net-misc/freerdp/files/freerdp-2.11.2-clang.patch b/net-misc/freerdp/files/freerdp-2.11.2-clang.patch new file mode 100644 index 000000000000..b05492a3effd --- /dev/null +++ b/net-misc/freerdp/files/freerdp-2.11.2-clang.patch @@ -0,0 +1,29 @@ +https://github.com/FreeRDP/FreeRDP/pull/9373 +https://bugs.gentoo.org/916515 + +From 88dd68153c834e1d5f59beb59496bfd1bf9697a8 Mon Sep 17 00:00:00 2001 +From: Wang Mingyu +Date: Mon, 11 Sep 2023 00:31:54 +0000 +Subject: [PATCH] Fixes clang error error: incompatible function pointer types + assigning to 'OBJECT_NEW_FN' (aka 'void *(*)(void *)') from 'void *(const + void *)' [-Wincompatible-function-pointer-types] | obj->fnObjectNew = + uwac_event_clone; | ^ ~~~~~~~~~~~~~~~~ + +Signed-off-by: Wang Mingyu +--- + client/Wayland/wlfreerdp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/Wayland/wlfreerdp.c b/client/Wayland/wlfreerdp.c +index 5be10aae2c1b..ef3539383f55 100644 +--- a/client/Wayland/wlfreerdp.c ++++ b/client/Wayland/wlfreerdp.c +@@ -598,7 +598,7 @@ static void wlf_client_free(freerdp* instance, rdpContext* context) + DeleteCriticalSection(&wlf->critical); + } + +-static void* uwac_event_clone(const void* val) ++static void* uwac_event_clone(void* val) + { + UwacEvent* copy; + const UwacEvent* ev = (const UwacEvent*)val; -- cgit v1.2.3