Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2023 18:01:04 GMT
From:      Robert Nagy <rnagy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 0721986dfe03 - 2023Q3 - www/{*chromium,iridium}: unbreak arm64 relocation in bundled ffmpeg
Message-ID:  <202308271801.37RI142u033982@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2023Q3 has been updated by rnagy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0721986dfe0327297b6eee68e732373684de9921

commit 0721986dfe0327297b6eee68e732373684de9921
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2023-08-27 17:57:35 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2023-08-27 18:00:54 +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
    (cherry picked from commit 919638f2014d06b489db252c378714fbac038f83)
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308271801.37RI142u033982>