summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-missing-size_t.patch11
-rw-r--r--firefox.spec6
-rwxr-xr-xgen_cbindgen-vendor.sh2
-rw-r--r--sources2
4 files changed, 19 insertions, 2 deletions
diff --git a/build-missing-size_t.patch b/build-missing-size_t.patch
new file mode 100644
index 0000000..36c7a1f
--- /dev/null
+++ b/build-missing-size_t.patch
@@ -0,0 +1,11 @@
+diff -up firefox-73.0.1/mfbt/FunctionTypeTraits.h.size_t firefox-73.0.1/mfbt/FunctionTypeTraits.h
+--- firefox-73.0.1/mfbt/FunctionTypeTraits.h.size_t 2020-02-26 11:59:48.643893199 +0100
++++ firefox-73.0.1/mfbt/FunctionTypeTraits.h 2020-02-26 11:59:56.806921623 +0100
+@@ -10,6 +10,7 @@
+ #define mozilla_FunctionTypeTraits_h
+
+ #include <tuple>
++#include <stddef.h>
+
+ namespace mozilla {
+
diff --git a/firefox.spec b/firefox.spec
index 8f49eae..0a1602d 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -229,7 +229,13 @@ BuildRequires: clang-libs
%if 0%{?build_with_clang}
BuildRequires: lld
%endif
+
+%if 0%{?fedora} < 32
BuildRequires: pipewire-devel
+%else
+BuildRequires: pipewire0.2-devel
+%endif
+
%if !0%{?use_bundled_cbindgen}
BuildRequires: cbindgen
%endif
diff --git a/gen_cbindgen-vendor.sh b/gen_cbindgen-vendor.sh
index d3caeec..41e0211 100755
--- a/gen_cbindgen-vendor.sh
+++ b/gen_cbindgen-vendor.sh
@@ -12,7 +12,7 @@ to be used with 'cargo vendor' commmand.
"""
[dependencies]
-cbindgen = "0.12.0"
+cbindgen = "0.13.0"
[[bin]]
name = "dummy"
diff --git a/sources b/sources
index f425f6c..738d572 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (cbindgen-vendor.tar.xz) = 9709c47df2dfb615554c6616c1d9f94c7a408ea4382400bd9f75eae29b0819a6418b5625eb0df2508fcbbbb74672347d00a5f6557755b9dd9de7d42fb2e509c4
SHA512 (firefox-74.0.source.tar.xz) = 83fcdf1a8a702cc480314dbbef0a819f95fac2ebbe275207b052ba8d62bfa9d93dc21b25ebfc466e798933e3f7b9a3bd9afc6afc295451495bb3d8a2bf864f44
SHA512 (firefox-langpacks-74.0-20200303.tar.xz) = 3cdb50c27adaaa85d727f2a8c0c6a284092fa4af815fdfbc8d170066287b22b566d052cc8e151ed901bcebf1a5ae2f19bb68be543738d35eac4a316aadb78232
+SHA512 (cbindgen-vendor.tar.xz) = a12d9dd45301614f3a7fcd77f61e3f731718fc418fcf84b0ac7363ef4ddd8ff60e057febef917620ac89d2d47d76b8dccfa71405935e346b849b93425732016a
bgstack15