Skip to content

Commit

Permalink
www/{*chromium,iridium}: unbreak arm64 relocation in bundled ffmpeg
Browse files Browse the repository at this point in the history
enable support for the .data.rel.ro section because the arm64
assembly code in ffmpeg depends on it

PR:	273349
  • Loading branch information
Robert Nagy authored and Robert Nagy committed Aug 27, 2023
1 parent a2ba3f9 commit 919638f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions www/chromium/files/patch-third__party_ffmpeg_configure
@@ -0,0 +1,10 @@
--- third_party/ffmpeg/configure.orig 2023-08-27 17:50:08 UTC
+++ third_party/ffmpeg/configure
@@ -5542,6 +5542,7 @@ case $target_os in
disable symver
;;
freebsd)
+ enable section_data_rel_ro
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt
10 changes: 10 additions & 0 deletions www/iridium/files/patch-third__party_ffmpeg_configure
@@ -0,0 +1,10 @@
--- third_party/ffmpeg/configure.orig 2023-08-27 17:50:08 UTC
+++ third_party/ffmpeg/configure
@@ -5542,6 +5542,7 @@ case $target_os in
disable symver
;;
freebsd)
+ enable section_data_rel_ro
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt
10 changes: 10 additions & 0 deletions www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure
@@ -0,0 +1,10 @@
--- third_party/ffmpeg/configure.orig 2023-08-27 17:50:08 UTC
+++ third_party/ffmpeg/configure
@@ -5542,6 +5542,7 @@ case $target_os in
disable symver
;;
freebsd)
+ enable section_data_rel_ro
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt

0 comments on commit 919638f

Please sign in to comment.