mozilla-bmo1775202.patch
branchfirefox115
changeset 1190 2a24a948b5cf
child 1191 37e065158be7
equal deleted inserted replaced
1189:ba0c97b018a6 1190:2a24a948b5cf
       
     1 From: Mike Hommey <mh@glandium.org>
       
     2 Date: Sun, 14 Aug 2022 07:01:33 +0900
       
     3 Subject: Work around bz#1775202 to fix FTBFS on ppc64el
       
     4 
       
     5 ---
       
     6  third_party/libwebrtc/moz.build | 7 +++++++
       
     7  1 file changed, 7 insertions(+)
       
     8 
       
     9 diff --git a/third_party/libwebrtc/moz.build b/third_party/libwebrtc/moz.build
       
    10 index 976cf373..311519c 100644
       
    11 --- a/third_party/libwebrtc/moz.build
       
    12 +++ b/third_party/libwebrtc/moz.build
       
    13 @@ -566,6 +566,13 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
       
    14          "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
       
    15      ]
       
    16  
       
    17 +if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux":
       
    18 +
       
    19 +    DIRS += [
       
    20 +        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
       
    21 +        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
       
    22 +    ]
       
    23 +
       
    24  if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
       
    25  
       
    26      DIRS += [