1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

multimedia/ffmpeg*: enable support for the .data.rel.ro section

enable support for the .data.rel.ro section because the arm64
assembly code in ffmpeg depends on it in case of -pie and -fPIC

Reviewed by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D41609
This commit is contained in:
Robert Nagy 2023-08-27 23:04:02 +02:00
parent bfffb8f6d8
commit fef6b65345
4 changed files with 24 additions and 8 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= ffmpeg
PORTVERSION= 6.0
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= multimedia audio net
MASTER_SITES= https://ffmpeg.org/releases/

View File

@ -1,6 +1,6 @@
--- configure.orig 2022-10-09 19:04:43 UTC
--- configure.orig 2023-02-27 20:43:45 UTC
+++ configure
@@ -3784,13 +3784,7 @@ host_os=$target_os_default
@@ -3888,13 +3888,7 @@ target_os_default=$(tolower $(uname -s))
host_os=$target_os_default
# machine
@ -15,7 +15,15 @@
cpu="generic"
intrinsics="none"
@@ -6758,7 +6752,7 @@ if enabled x86; then
@@ -5537,6 +5531,7 @@ case $target_os in
disable symver
;;
freebsd)
+ enable section_data_rel_ro
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt
@@ -7018,7 +7013,7 @@ fi
if enabled x86; then
case $target_os in

View File

@ -1,6 +1,6 @@
PORTNAME= ffmpeg
PORTVERSION= 4.4.4
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia audio net
MASTER_SITES= https://ffmpeg.org/releases/
PKGNAMESUFFIX= 4

View File

@ -1,6 +1,6 @@
--- configure.orig 2022-10-09 19:04:43 UTC
--- configure.orig 2023-04-12 18:52:51 UTC
+++ configure
@@ -3784,13 +3784,7 @@ host_os=$target_os_default
@@ -3784,13 +3784,7 @@ target_os_default=$(tolower $(uname -s))
host_os=$target_os_default
# machine
@ -15,7 +15,15 @@
cpu="generic"
intrinsics="none"
@@ -6758,7 +6752,7 @@ if enabled x86; then
@@ -5387,6 +5381,7 @@ case $target_os in
disable symver
;;
freebsd)
+ enable section_data_rel_ro
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt
@@ -6758,7 +6753,7 @@ enabled vulkan &&
if enabled x86; then
case $target_os in