diff options
| -rw-r--r-- | repos/extra/firefox/.checksum | 3 | ||||
| -rw-r--r-- | repos/extra/firefox/abuild | 37 | ||||
| -rw-r--r-- | repos/extra/firefox/fix-webrtc-pid_t.patch | 10 |
3 files changed, 31 insertions, 19 deletions
diff --git a/repos/extra/firefox/.checksum b/repos/extra/firefox/.checksum index 5ab5636d..3d944ada 100644 --- a/repos/extra/firefox/.checksum +++ b/repos/extra/firefox/.checksum @@ -1,5 +1,6 @@ f9405d027e062c80b3f642442a2b6fee5bfe89a506d15536558e1d1eba66668d enable-jxl.patch -6d8dddc2e405fbab204291106e0ce69f0a7aba0112f87b84f6339c44310be3a8 firefox-147.0.4.source.tar.xz +753f551015bdd21b11256f07d34947a1b2637be56688372a4cc0b2cef69ce5f7 firefox-148.0.source.tar.xz +236ce405bbdd08d95caf005db4a51a573f8580b988c4ee2e5137972e35fb816c fix-webrtc-pid_t.patch b239875402706ed78023daab811cd997d5f3dd61f4a4444da7299e0fdc425832 gtk-focus-mask.patch 1a8b337a849c5020835735b37f741855655a837fa4b202fe40dd01957e0e5de4 libcxx18.patch 6542fd04dea9bd934fc47e27f27ecab75339c5697d9555f893d57351ea688439 musl-heap-reporter.patch diff --git a/repos/extra/firefox/abuild b/repos/extra/firefox/abuild index 4aede4e4..b3be2d1b 100644 --- a/repos/extra/firefox/abuild +++ b/repos/extra/firefox/abuild @@ -1,26 +1,27 @@ name=firefox -version=147.0.4 -release=2 +version=148.0 +release=1 source="https://ftp.mozilla.org/pub/${name}/releases/${version}/source/${name}-${version}.source.tar.xz + fix-webrtc-pid_t.patch enable-jxl.patch - gtk-focus-mask.patch - libcxx18.patch - musl-heap-reporter.patch - musl-no-features-h.patch - musl-prctl.patch - musl-pread64.patch - musl-pthread-name.patch - musl-sandbox-libgcc.patch - musl-sandbox-sched.patch - musl-siginfo.patch - musl-single-threaded.patch - no-build-id.patch" + gtk-focus-mask.patch + libcxx18.patch + musl-heap-reporter.patch + musl-no-features-h.patch + musl-prctl.patch + musl-pread64.patch + musl-pthread-name.patch + musl-sandbox-libgcc.patch + musl-sandbox-sched.patch + musl-siginfo.patch + musl-single-threaded.patch + no-build-id.patch" build() { - # musl: allow select() syscall in all sandbox policies - awk '/CASES_FOR_poll:/{print; print "#ifdef __NR_select"; print " case __NR_select:"; print "#endif"; next}1' \ - security/sandbox/linux/SandboxFilter.cpp > SandboxFilter.tmp - mv SandboxFilter.tmp security/sandbox/linux/SandboxFilter.cpp + # musl: allow select() syscall in all sandbox policies + awk '/CASES_FOR_poll:/{print; print "#ifdef __NR_select"; print " case __NR_select:"; print "#endif"; next}1' \ + security/sandbox/linux/SandboxFilter.cpp > SandboxFilter.tmp + mv SandboxFilter.tmp security/sandbox/linux/SandboxFilter.cpp cat > .mozconfig << EOF ac_add_options --prefix=/usr diff --git a/repos/extra/firefox/fix-webrtc-pid_t.patch b/repos/extra/firefox/fix-webrtc-pid_t.patch new file mode 100644 index 00000000..dd8307c3 --- /dev/null +++ b/repos/extra/firefox/fix-webrtc-pid_t.patch @@ -0,0 +1,10 @@ +--- a/third_party/libwebrtc/modules/desktop_capture/desktop_capturer.h ++++ b/third_party/libwebrtc/modules/desktop_capture/desktop_capturer.h +@@ -11,6 +11,7 @@ + #ifndef MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_H_ + #define MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_H_ + ++#include <sys/types.h> + #include <cstddef> + #include <cstdint> + #include <memory> |