diff --git a/firefox-aarch64-sysctl.patch b/firefox-aarch64-sysctl.patch new file mode 100644 index 0000000..b4a8c67 --- /dev/null +++ b/firefox-aarch64-sysctl.patch @@ -0,0 +1,12 @@ +diff -up firefox-106.0/media/ffvpx/config_unix_aarch64.h.old firefox-106.0/media/ffvpx/config_unix_aarch64.h +--- firefox-106.0/media/ffvpx/config_unix_aarch64.h.old 2022-10-20 20:50:57.938936868 +0200 ++++ firefox-106.0/media/ffvpx/config_unix_aarch64.h 2022-10-20 20:51:05.431187713 +0200 +@@ -329,7 +329,7 @@ + #define HAVE_SLEEP 0 + #define HAVE_STRERROR_R 1 + #define HAVE_SYSCONF 1 +-#define HAVE_SYSCTL 1 ++#define HAVE_SYSCTL 0 + #define HAVE_USLEEP 1 + #define HAVE_UTGETOSTYPEFROMSTRING 0 + #define HAVE_VIRTUALALLOC 0 diff --git a/firefox.spec b/firefox.spec index ff6f588..d9ad573 100644 --- a/firefox.spec +++ b/firefox.spec @@ -219,6 +219,7 @@ Patch62: build-python.patch Patch71: 0001-GLIBCXX-fix-for-GCC-12.patch Patch77: build-python-3.11.patch Patch78: firefox-i686-build.patch +Patch79: firefox-aarch64-sysctl.patch # Test patches # Generate without context by @@ -479,6 +480,7 @@ This package contains results of tests executed during build. %patch71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12 %patch77 -p1 -b .build-python-3.11 %patch78 -p1 -b .firefox-i686 +%patch79 -p1 -b .aarch64-sysctl # Test patches #%patch100 -p1 -b .firefox-tests-xpcshell