summaryrefslogtreecommitdiff
path: root/pkg/mpv/patch/0004-wayland-include-math.h-for-ceil.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2023-03-17 13:04:43 -0700
committerMichael Forney <mforney@mforney.org>2023-03-17 23:35:23 -0700
commita129a63f93b5f7d756e8a2082dc9db47d07c57cb (patch)
tree53de3b7980747085dd30dd1fcbc07f33ffaa9953 /pkg/mpv/patch/0004-wayland-include-math.h-for-ceil.patch
parent8eba2dc601580585ef34be71774202fd96a3d235 (diff)
mpv: Update to 0.35.1
Diffstat (limited to 'pkg/mpv/patch/0004-wayland-include-math.h-for-ceil.patch')
-rw-r--r--pkg/mpv/patch/0004-wayland-include-math.h-for-ceil.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/mpv/patch/0004-wayland-include-math.h-for-ceil.patch b/pkg/mpv/patch/0004-wayland-include-math.h-for-ceil.patch
new file mode 100644
index 00000000..0e18bb85
--- /dev/null
+++ b/pkg/mpv/patch/0004-wayland-include-math.h-for-ceil.patch
@@ -0,0 +1,24 @@
+From 1c8ae213f7d683c69298f131d424c9006a9650d3 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Thu, 21 Jul 2022 14:00:02 -0700
+Subject: [PATCH] wayland: include <math.h> for ceil
+
+---
+ video/out/wayland_common.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
+index 3cebab9e99..4ec5c148e7 100644
+--- a/video/out/wayland_common.c
++++ b/video/out/wayland_common.c
+@@ -18,6 +18,7 @@
+ #include <errno.h>
+ #include <limits.h>
+ #include <linux/input-event-codes.h>
++#include <math.h>
+ #include <poll.h>
+ #include <time.h>
+ #include <unistd.h>
+--
+2.35.1
+