aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2023-08-30 09:17:10 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2023-08-30 09:18:50 +0000
commit00aaf89b1317a92dc00b5dbb066005da4f948280 (patch)
tree22511037144cd681f3c8604782dcfc5d615f790b
parentf7f38560ce695333898e7e13bbafd3313f4f2abc (diff)
downloadports-00aaf89b1317a92dc00b5dbb066005da4f948280.tar.gz
ports-00aaf89b1317a92dc00b5dbb066005da4f948280.zip
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
-rw-r--r--devel/electron25/files/patch-third__party_ffmpeg_configure10
1 files changed, 10 insertions, 0 deletions
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