summarylogtreecommitdiffstats
path: root/chromium-webrtc-r0.patch
diff options
context:
space:
mode:
authorJonas Heinrich2017-12-13 22:47:23 +0100
committerJonas Heinrich2017-12-13 22:47:23 +0100
commitac49deb3145c075a39e88510779260ea75e336c3 (patch)
tree14b8e1dca2eecd73184b4e385a348ad5dadf324f /chromium-webrtc-r0.patch
parent63e4902779ee5c1a272a05fc1217e39cdf7d8794 (diff)
downloadaur-chromium-wayland-git.tar.gz
updated package to match a bit more the upstream version
Diffstat (limited to 'chromium-webrtc-r0.patch')
-rw-r--r--chromium-webrtc-r0.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/chromium-webrtc-r0.patch b/chromium-webrtc-r0.patch
new file mode 100644
index 00000000000..e14b185acb9
--- /dev/null
+++ b/chromium-webrtc-r0.patch
@@ -0,0 +1,34 @@
+From 7f90e2cceda0458cf56026eb6ccffb961a47804b Mon Sep 17 00:00:00 2001
+From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
+Date: Fri, 13 Oct 2017 15:49:32 +0200
+Subject: [PATCH] IWYU: Include math.h for round(3).
+
+math.h was being implicitly included, which can break the build with
+alternative libc implementations.
+
+Bug: None
+Change-Id: I969b320b65d0f44abb33d3e1036cfbcb859a4952
+Reviewed-on: https://webrtc-review.googlesource.com/9384
+Reviewed-by: Tommi <tommi@webrtc.org>
+Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com>
+Cr-Commit-Position: refs/heads/master@{#20292}
+---
+ p2p/base/port.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/p2p/base/port.cc b/p2p/base/port.cc
+index a1b478d11..81aa0aadb 100644
+--- a/third_party/webrtc/p2p/base/port.cc
++++ b/third_party/webrtc/p2p/base/port.cc
+@@ -10,6 +10,8 @@
+
+ #include "p2p/base/port.h"
+
++#include <math.h>
++
+ #include <algorithm>
+ #include <vector>
+
+--
+2.15.0.rc2
+