summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2020-02-26 12:04:37 +0100
committerJan Horak <jhorak@redhat.com>2020-02-26 12:04:37 +0100
commit532c76054c79497e893520dd5fc52922b4a7487f (patch)
tree6ec454941ec6882b5d453e8b984517f8b99290d1
parentFixing pipewire buildrequires (diff)
downloadlibrewolf-fedora-ff-532c76054c79497e893520dd5fc52922b4a7487f.tar.gz
librewolf-fedora-ff-532c76054c79497e893520dd5fc52922b4a7487f.tar.bz2
librewolf-fedora-ff-532c76054c79497e893520dd5fc52922b4a7487f.zip
Trying to fix missing size_t
-rw-r--r--build-missing-size_t.patch11
-rw-r--r--firefox.spec2
2 files changed, 13 insertions, 0 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 ec8c995..cf15343 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -158,6 +158,7 @@ Patch47: fedora-shebang-build.patch
Patch48: build-arm-wasm.patch
Patch49: build-arm-libaom.patch
Patch50: Bug-1610814-Fix-NEON-compile-error-with-gcc-and-RGB-.patch
+Patch51: build-missing-size_t.patch
# Fedora specific patches
Patch215: firefox-enable-addons.patch
@@ -364,6 +365,7 @@ This package contains results of tests executed during build.
%patch48 -p1 -b .build-arm-wasm
%patch49 -p1 -b .build-arm-libaom
%patch50 -p1 -b .build-arm-SwizzleNEON
+%patch51 -p1 -b .build-missing-size_t
# Fedora patches
%patch215 -p1 -b .addons
bgstack15