Build fixes

This commit is contained in:
Martin Stransky 2020-02-12 14:07:19 +01:00
parent 4dee749c0a
commit f314ac392b
4 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/bash
# #
# Run Firefox under Wayland # Run Firefox under Wayland
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/bash
# #
# Run Firefox on X11 backend # Run Firefox on X11 backend
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/bash
# #
# The contents of this file are subject to the Netscape Public # The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file # License Version 1.1 (the "License"); you may not use this file

View File

@ -1,5 +1,5 @@
# Set to true if it's going to be submitted as update. # Set to true if it's going to be submitted as update.
%global release_build 1 %global release_build 0
%global debug_build 0 %global debug_build 0
%global build_with_clang 0 %global build_with_clang 0
%global build_with_asan 0 %global build_with_asan 0
@ -143,6 +143,7 @@ Patch41: build-disable-elfhack.patch
Patch44: build-arm-libopus.patch Patch44: build-arm-libopus.patch
#Patch45: build-disable-multijobs-rust.patch #Patch45: build-disable-multijobs-rust.patch
Patch46: firefox-nss-version.patch Patch46: firefox-nss-version.patch
Patch47: fedora-shebang-build.patch
# Fedora specific patches # Fedora specific patches
Patch215: firefox-enable-addons.patch Patch215: firefox-enable-addons.patch
@ -339,6 +340,7 @@ This package contains results of tests executed during build.
%patch26 -p1 -b .icu %patch26 -p1 -b .icu
%endif %endif
#%patch46 -p1 -b .nss-version #%patch46 -p1 -b .nss-version
%patch47 -p1 -b .fedora-shebang
# Fedora patches # Fedora patches
%patch215 -p1 -b .addons %patch215 -p1 -b .addons
@ -470,6 +472,7 @@ echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .
# Remove executable bit to make brp-mangle-shebangs happy. # Remove executable bit to make brp-mangle-shebangs happy.
chmod -x third_party/rust/itertools/src/lib.rs chmod -x third_party/rust/itertools/src/lib.rs
chmod a-x third_party/rust/gfx-backend-vulkan/src/*.rs chmod a-x third_party/rust/gfx-backend-vulkan/src/*.rs
chmod a-x third_party/rust/gfx-hal/src/*.rs
#--------------------------------------------------------------------- #---------------------------------------------------------------------