Re: git: d64ae40ff3a7 - main - multimedia/ffmpeg: add a configure patch

From: Sergey A. Osokin <osa_at_freebsd.org>
Date: Wed, 24 Dec 2025 15:16:45 UTC
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='""'
>