summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/mpv/files/mpv-0.17.0-add-missing-math-include.patch')
-rw-r--r--media-video/mpv/files/mpv-0.17.0-add-missing-math-include.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-video/mpv/files/mpv-0.17.0-add-missing-math-include.patch b/media-video/mpv/files/mpv-0.17.0-add-missing-math-include.patch
new file mode 100644
index 000000000000..9f04fbe89c5c
--- /dev/null
+++ b/media-video/mpv/files/mpv-0.17.0-add-missing-math-include.patch
@@ -0,0 +1,21 @@
+commit b735c0e2077cb37df6764350472cbc68a9142d91
+Author: wm4 <wm4@nowhere>
+Date: Fri Apr 15 13:58:41 2016 +0200
+
+lcms: include math.h
+
+Fixes #3053.
+---
+
+diff --git a/video/out/opengl/lcms.c b/video/out/opengl/lcms.c
+index 7db8da6..a2030d3 100644
+--- a/video/out/opengl/lcms.c
++++ b/video/out/opengl/lcms.c
+@@ -16,6 +16,7 @@
+ */
+
+ #include <string.h>
++#include <math.h>
+
+ #include "mpv_talloc.h"
+