Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2023 09:20:05 GMT
From:      Hiroki Tagato <tagattie@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 9b5f992e0cb3 - 2023Q3 - devel/electron25: unbreak arm64 relocation in bundled ffmpeg
Message-ID:  <202308300920.37U9K5HK035347@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b5f992e0cb30a49b05ecb324b5e34b6a996da68

commit 9b5f992e0cb30a49b05ecb324b5e34b6a996da68
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-08-30 09:17:10 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-08-30 09:19:58 +0000

    devel/electron25: unbreak arm64 relocation in bundled ffmpeg
    
    Enable support for the .data.rel.ro section because the arm64 assembly
    code in ffmpeg depends on it.
    
    Reported by:    pkg-fallout
    Obtained from:  https://cgit.freebsd.org/ports/patch/www/chromium/files/patch-third__party_ffmpeg_configure?id=919638f2014d06b489db252c378714fbac038f83
    MFH:            2023Q3
    
    (cherry picked from commit 00aaf89b1317a92dc00b5dbb066005da4f948280)
---
 devel/electron25/files/patch-third__party_ffmpeg_configure | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/devel/electron25/files/patch-third__party_ffmpeg_configure b/devel/electron25/files/patch-third__party_ffmpeg_configure
new file mode 100644
index 000000000000..da4d445ff37f
--- /dev/null
+++ b/devel/electron25/files/patch-third__party_ffmpeg_configure
@@ -0,0 +1,10 @@
+--- third_party/ffmpeg/configure.orig	2023-08-30 08:53:07 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?202308300920.37U9K5HK035347>