no sysctl on aarch64

This commit is contained in:
Martin Stransky 2022-10-20 20:56:13 +02:00
parent 38d5cff9df
commit beb5e712a1
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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