Re:_git:_d64ae40ff3a7_-_main_-_mult imedia/ffmpeg:_add_a_configure_patch

From: Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 24 Dec 2025 15:31:16 UTC
No because this fixes a corner case which when it happened was catched by the HAS_SYMBOL_VERSION preventing a build to finish

bapt

Le 24 décembre 2025 16:16:45 GMT+01:00, "Sergey A. Osokin" <osa@freebsd.org> a écrit :
>Hi Baptiste,
>thanks for the fix.
>It seems like we'd need to bump PORTREVISION, right?
>
>-- 
>Sergey A. Osokin
>
>On Wed, Dec 24, 2025 at 03:12:10PM +0000, Baptiste Daroussin wrote:
>> The branch main has been updated by bapt:
>> 
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=d64ae40ff3a77dbb948c3de392cb5e4019545aa8
>> 
>> commit d64ae40ff3a77dbb948c3de392cb5e4019545aa8
>> Author:     Baptiste Daroussin <bapt@FreeBSD.org>
>> AuthorDate: 2025-12-24 12:34:06 +0000
>> Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
>> CommitDate: 2025-12-24 15:12:07 +0000
>> 
>>     multimedia/ffmpeg: add a configure patch
>>     
>>     When pushing ffmpeg 8.0.1 I forgot the to git add the configure patch
>>     to fix detection of support for symbol versionning
>>     
>>     PR:      291868
>> ---
>>  multimedia/ffmpeg/files/patch-configure | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>> 
>> diff --git a/multimedia/ffmpeg/files/patch-configure b/multimedia/ffmpeg/files/patch-configure
>> new file mode 100644
>> index 000000000000..2696f5c31bfc
>> --- /dev/null
>> +++ b/multimedia/ffmpeg/files/patch-configure
>> @@ -0,0 +1,11 @@
>> +--- configure.orig	2025-12-24 07:09:43 UTC
>> ++++ configure
>> +@@ -7667,7 +7667,7 @@ if enabled proper_dce; then
>> + EOF
>> + 
>> + if enabled proper_dce; then
>> +-    echo "X { local: *; };" > $TMPV
>> ++    echo "X { global: environ; __progname; local: *; };" > $TMPV
>> +     if test_ldflags -Wl,${version_script},$TMPV; then
>> +         append SHFLAGS '-Wl,${version_script},\$(SUBDIR)lib\$(NAME).ver'
>> +         quotes='""'
>>