for whatever reason new config_unix_aarch64.h config implies
<sys/sysctl.h> is present even though it's long gone.
--- /dev/null
+--- firefox-106.0/media/ffvpx/config_unix_aarch64.h.orig 2022-10-10 18:05:25.000000000 +0200
++++ firefox-106.0/media/ffvpx/config_unix_aarch64.h 2022-10-18 20:18:40.655546208 +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
Source197: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-TW.xpi
# Source197-md5: de11ece098f9cbca048bbec6b3654c6f
Patch0: x86-flags.patch
+Patch1: aarch64-sysctl.patch
Patch4: %{name}-prefs.patch
Patch5: %{name}-pld-bookmarks.patch
Patch6: %{name}-no-subshell.patch
%setup -q %(seq -f '-a %g' 100 197 | xargs)
%patch0 -p1
+%patch1 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p2