aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc')
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc b/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc
new file mode 100644
index 000000000000..2b7a938416ab
--- /dev/null
+++ b/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc
@@ -0,0 +1,11 @@
+--- third_party/webrtc/base/httpcommon.cc.orig 2016-05-11 19:04:03 UTC
++++ third_party/webrtc/base/httpcommon.cc
+@@ -384,7 +384,7 @@ bool HttpDateToSeconds(const std::string
+ gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60;
+ }
+ // TODO: Android should support timezone, see b/2441195
+-#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) || defined(WEBRTC_ANDROID) || defined(BSD)
++#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) || defined(WEBRTC_ANDROID) || defined(WEBRTC_BSD)
+ tm *tm_for_timezone = localtime(&gmt);
+ *seconds = gmt + tm_for_timezone->tm_gmtoff;
+ #else