Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2023 18:00:00 GMT
From:      Robert Nagy <rnagy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 919638f2014d - main - www/{*chromium,iridium}: unbreak arm64 relocation in bundled ffmpeg
Message-ID:  <202308271800.37RI00tO024253@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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