]> git.draconx.ca Git - gentoo-fixes.git/blobdiff - www-client/firefox/files/firefox-52.9.0-fix-missing-includes.patch
Resurrect firefox-52.9.0 ebuild.
[gentoo-fixes.git] / www-client / firefox / files / firefox-52.9.0-fix-missing-includes.patch
diff --git a/www-client/firefox/files/firefox-52.9.0-fix-missing-includes.patch b/www-client/firefox/files/firefox-52.9.0-fix-missing-includes.patch
new file mode 100644 (file)
index 0000000..7f57d32
--- /dev/null
@@ -0,0 +1,37 @@
+diff --git a/gfx/2d/BaseRect.h b/gfx/2d/BaseRect.h
+index 57d01ba09..b1eed9ddb 100644
+--- a/gfx/2d/BaseRect.h
++++ b/gfx/2d/BaseRect.h
+@@ -9,6 +9,7 @@
+ #include <algorithm>
+ #include <cmath>
+ #include <ostream>
++#include <limits>
+ #include "mozilla/Assertions.h"
+ #include "mozilla/FloatingPoint.h"
+diff --git a/gfx/2d/Matrix.h b/gfx/2d/Matrix.h
+index 22a01ca10..e221ba3d2 100644
+--- a/gfx/2d/Matrix.h
++++ b/gfx/2d/Matrix.h
+@@ -13,6 +13,7 @@
+ #include "Quaternion.h"
+ #include <iosfwd>
+ #include <math.h>
++#include <limits>
+ #include "mozilla/Attributes.h"
+ #include "mozilla/DebugOnly.h"
+ #include "mozilla/FloatingPoint.h"
+diff --git a/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc b/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
+index 941e635b1..3668a5047 100644
+--- a/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
++++ b/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
+@@ -8,6 +8,8 @@
+  *  be found in the AUTHORS file in the root of the source tree.
+  */
++#include <limits>
++
+ #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h"
+ #include "webrtc/base/checks.h"