0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-31 14:02:05 +00:00
Files
termux-packages/x11-packages/freerdp/0003-incompatible-function-pointer-types.patch
Robert Kirkman 4a72152f78 chore(main/libwayland): uniformly use termux_setup_wayland_cross_pkg_config_wrapper
- See https://github.com/termux/termux-packages/pull/24215#issuecomment-2788227037

- Replaces all instances of `export PATH="$TERMUX_PREFIX/opt/libwayland/cross/bin:$PATH"` and `wayland-scanner` patches  in reverse dependencies with `termux_setup_wayland_cross_pkg_config_wrapper`

- Some packages were working because they were using `/usr/bin/wayland-scanner`, this changes all of them to use `$PREFIX/opt/libwayland/cross/bin/wayland-scanner` instead

[no ci]
2025-04-14 09:27:50 +03:00

12 lines
279 B
Diff

--- a/client/Wayland/wlfreerdp.c
+++ v/client/Wayland/wlfreerdp.c
@@ -587,7 +587,7 @@
DeleteCriticalSection(&wlf->critical);
}
-static void* uwac_event_clone(const void* val)
+static void* uwac_event_clone(void* val)
{
UwacEvent* copy;
UwacEvent* ev = (UwacEvent*)val;