summaryrefslogtreecommitdiff
path: root/mozilla-fix-attr-order.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-02-13 10:28:39 +0100
committerMartin Stransky <stransky@redhat.com>2018-02-13 10:28:39 +0100
commit97125e04e54fcbdf7deee79ba45c80b0c5f29734 (patch)
tree6d1d10a2cb6a6bd42e1315b77bbaf98ab45212c6 /mozilla-fix-attr-order.patch
parentMerge branch 'master' into f26 (diff)
parentAdded build fix for gcc8 by Tom Callaway (diff)
downloadlibrewolf-fedora-ff-97125e04e54fcbdf7deee79ba45c80b0c5f29734.tar.gz
librewolf-fedora-ff-97125e04e54fcbdf7deee79ba45c80b0c5f29734.tar.bz2
librewolf-fedora-ff-97125e04e54fcbdf7deee79ba45c80b0c5f29734.zip
Merge branch 'master' into f26
Diffstat (limited to 'mozilla-fix-attr-order.patch')
-rw-r--r--mozilla-fix-attr-order.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/mozilla-fix-attr-order.patch b/mozilla-fix-attr-order.patch
new file mode 100644
index 0000000..aef2d25
--- /dev/null
+++ b/mozilla-fix-attr-order.patch
@@ -0,0 +1,28 @@
+diff -up mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/common_audio/vad/vad_core.c.fix-attr-order mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/common_audio/vad/vad_core.c
+--- mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/common_audio/vad/vad_core.c.fix-attr-order 2018-02-03 11:59:21.173058184 -0500
++++ mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/common_audio/vad/vad_core.c 2018-02-03 11:59:44.727509671 -0500
+@@ -115,8 +115,8 @@ static int32_t WeightedAverage(int16_t*
+ // undefined behavior, so not a good idea; this just makes UBSan ignore the
+ // violation, so that our old code can continue to do what it's always been
+ // doing.)
+-static inline int32_t OverflowingMulS16ByS32ToS32(int16_t a, int32_t b)
+- RTC_NO_SANITIZE("signed-integer-overflow") {
++RTC_NO_SANITIZE("signed-integer-overflow") static inline int32_t OverflowingMulS16ByS32ToS32(int16_t a, int32_t b)
++{
+ return a * b;
+ }
+
+diff -up mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c.fix-attr-order mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c
+--- mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c.fix-attr-order 2018-02-03 12:00:01.033129964 -0500
++++ mozilla-beta-64737c752ac4af4766ad6f82720818521f3aca24/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c 2018-02-03 12:00:45.758088456 -0500
+@@ -209,8 +209,8 @@ void WebRtcIsacfix_NormLatticeFilterMa(s
+ // Left shift of an int32_t that's allowed to overflow. (It's still undefined
+ // behavior, so not a good idea; this just makes UBSan ignore the violation, so
+ // that our old code can continue to do what it's always been doing.)
+-static inline int32_t OverflowingLShiftS32(int32_t x, int shift)
+- RTC_NO_SANITIZE("shift") {
++RTC_NO_SANITIZE("shift") static inline int32_t OverflowingLShiftS32(int32_t x, int shift)
++{
+ return x << shift;
+ }
+
bgstack15