mozilla-buildfixes.patch
branchfirefox107
changeset 1181 ba646dddffef
parent 1180 d76083122710
equal deleted inserted replaced
1180:d76083122710 1181:ba646dddffef
     1 # HG changeset patch
     1 # HG changeset patch
     2 # User Wolfgang Rosenauer <wr@rosenauer.org>
     2 # User Wolfgang Rosenauer <wr@rosenauer.org>
     3 # Parent  39a0846a4f2df1c4669273933d74567a8774e1da
     3 # Parent  e583ac9b86ba82dd1c60d307115b4cb96296a6af
     4 # References: bmo#1792159 - Add missing includes to AtomicOperationsGenerated.h
     4 # References: bmo#1792159 - Add missing includes to AtomicOperationsGenerated.h
     5 
     5 
     6 diff --git a/js/src/jit/GenerateAtomicOperations.py b/js/src/jit/GenerateAtomicOperations.py
       
     7 --- a/js/src/jit/GenerateAtomicOperations.py
       
     8 +++ b/js/src/jit/GenerateAtomicOperations.py
       
     9 @@ -702,16 +702,18 @@ HEADER_TEMPLATE = """\
       
    10   * License, v. 2.0. If a copy of the MPL was not distributed with this
       
    11   * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       
    12  
       
    13  #ifndef jit_AtomicOperationsGenerated_h
       
    14  #define jit_AtomicOperationsGenerated_h
       
    15  
       
    16  /* This file is generated by jit/GenerateAtomicOperations.py. Do not edit! */
       
    17  
       
    18 +#include "mozilla/Attributes.h"
       
    19 +
       
    20  namespace js {
       
    21  namespace jit {
       
    22  
       
    23  %(contents)s
       
    24  
       
    25  } // namespace jit
       
    26  } // namespace js
       
    27  
       
    28 diff --git a/media/ffvpx/config_unix_aarch64.h b/media/ffvpx/config_unix_aarch64.h
       
    29 --- a/media/ffvpx/config_unix_aarch64.h
       
    30 +++ b/media/ffvpx/config_unix_aarch64.h
       
    31 @@ -324,17 +324,17 @@
       
    32  #define HAVE_SETCONSOLETEXTATTRIBUTE 0
       
    33  #define HAVE_SETCONSOLECTRLHANDLER 0
       
    34  #define HAVE_SETDLLDIRECTORY 0
       
    35  #define HAVE_SETMODE 0
       
    36  #define HAVE_SETRLIMIT 1
       
    37  #define HAVE_SLEEP 0
       
    38  #define HAVE_STRERROR_R 1
       
    39  #define HAVE_SYSCONF 1
       
    40 -#define HAVE_SYSCTL 1
       
    41 +#define HAVE_SYSCTL 0
       
    42  #define HAVE_USLEEP 1
       
    43  #define HAVE_UTGETOSTYPEFROMSTRING 0
       
    44  #define HAVE_VIRTUALALLOC 0
       
    45  #define HAVE_WGLGETPROCADDRESS 0
       
    46  #define HAVE_BCRYPT 0
       
    47  #define HAVE_VAAPI_DRM 0
       
    48  #define HAVE_VAAPI_X11 0
       
    49  #define HAVE_VDPAU_X11 0
       
    50 diff --git a/mozglue/misc/SIMD_avx2.cpp b/mozglue/misc/SIMD_avx2.cpp
     6 diff --git a/mozglue/misc/SIMD_avx2.cpp b/mozglue/misc/SIMD_avx2.cpp
    51 --- a/mozglue/misc/SIMD_avx2.cpp
     7 --- a/mozglue/misc/SIMD_avx2.cpp
    52 +++ b/mozglue/misc/SIMD_avx2.cpp
     8 +++ b/mozglue/misc/SIMD_avx2.cpp
    53 @@ -50,17 +50,17 @@ template <typename TValue>
     9 @@ -53,17 +53,17 @@ template <typename TValue>
    54    }
    10    }
    55    if (sizeof(TValue) == 2) {
    11    if (sizeof(TValue) == 2) {
    56      return _mm256_cmpeq_epi16(a, b);
    12      return _mm256_cmpeq_epi16(a, b);
    57    }
    13    }
    58  
    14