git: 919638f2014d - main - www/{*chromium,iridium}: unbreak arm64 relocation in bundled ffmpeg

From: Robert Nagy <rnagy_at_FreeBSD.org>
Date: Sun, 27 Aug 2023 18:00:00 UTC
The branch main has been updated by rnagy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=919638f2014d06b489db252c378714fbac038f83

commit 919638f2014d06b489db252c378714fbac038f83
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2023-08-27 17:57:35 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2023-08-27 17:59:55 +0000

    www/{*chromium,iridium}: unbreak arm64 relocation in bundled ffmpeg
    
    enable support for the .data.rel.ro section because the arm64
    assembly code in ffmpeg depends on it
    
    PR:     273349
---
 www/chromium/files/patch-third__party_ffmpeg_configure         | 10 ++++++++++
 www/iridium/files/patch-third__party_ffmpeg_configure          | 10 ++++++++++
 .../files/patch-third__party_ffmpeg_configure                  | 10 ++++++++++
 3 files changed, 30 insertions(+)

diff --git a/www/chromium/files/patch-third__party_ffmpeg_configure b/www/chromium/files/patch-third__party_ffmpeg_configure
new file mode 100644
index 000000000000..bf862ea18c8b
--- /dev/null
+++ b/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
diff --git a/www/iridium/files/patch-third__party_ffmpeg_configure b/www/iridium/files/patch-third__party_ffmpeg_configure
new file mode 100644
index 000000000000..bf862ea18c8b
--- /dev/null
+++ b/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
diff --git a/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure b/www/ungoogled-chromium/files/patch-third__party_ffmpeg_configure
new file mode 100644
index 000000000000..bf862ea18c8b
--- /dev/null
+++ b/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