0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-11 10:55:36 +00:00
Files
termux-packages/x11-packages/weston/0006-fix-include.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

16 lines
291 B
Diff

--- a/libweston/input.c
+++ b/libweston/input.c
@@ -34,7 +34,12 @@
#include <sys/mman.h>
#include <assert.h>
#include <unistd.h>
+#ifndef __ANDROID__
#include <values.h>
+#else
+#include <limits.h>
+#include <float.h>
+#endif
#include <fcntl.h>
#include <limits.h>
#include <errno.h>