Re: git: 230b3083e675 - main - sysutils/libcdio-paranoia: Update to 10.2+2.0.2

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Tue, 13 Aug 2024 16:56:49 UTC
On Tue, 23 Jul 2024 02:04:01 +0300 Vladimir Druzenko wrote:
> 22.07.2024 05:35, Jason E. Hale пишет:
>> The branch main has been updated by jhale:
>>
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=230b3083e67548e20b04966e8517e0a638f509d0
>>
>> commit 230b3083e67548e20b04966e8517e0a638f509d0
>> Author:     Jason E. Hale <jhale@FreeBSD.org>
>> AuthorDate: 2024-07-22 01:43:06 +0000
>> Commit:     Jason E. Hale <jhale@FreeBSD.org>
>> CommitDate: 2024-07-22 02:34:57 +0000
>>
>>      sysutils/libcdio-paranoia: Update to 10.2+2.0.2
>>      
>>      https://github.com/rocky/libcdio-paranoia/releases/tag/release-10.2%2B2.0.2
>> ---
>>   sysutils/libcdio-paranoia/Makefile | 6 +-----
>>   sysutils/libcdio-paranoia/distinfo | 6 +++---
>>   2 files changed, 4 insertions(+), 8 deletions(-)
> 
> $ mplayer
> ld-elf.so.1: /usr/local/lib/libcdio_cdda.so.2: version CDIO_CDDA_2 
> required by /usr/local/bin/mplayer not defined
> $ mpv
> ld-elf.so.1: /usr/local/lib/libcdio_paranoia.so.2: version 
> CDIO_PARANOIA_2 required by /usr/local/bin/mpv not defined
> $ mencoder
> ld-elf.so.1: /usr/local/lib/libcdio_cdda.so.2: version CDIO_CDDA_2 
> required by /usr/local/bin/mencoder not defined
> $ ffmpeg
> ld-elf.so.1: /usr/local/lib/libcdio_paranoia.so.2: version 
> CDIO_PARANOIA_2 required by /usr/local/lib/libavdevice.so.60 not defined
> 
> We need bump?

This patch restores the symbol versions:

diff --git a/sysutils/libcdio-paranoia/Makefile b/sysutils/libcdio-paranoia/Makefile
index 7649bbf5811f..8cb3f1ed5dc8 100644
--- a/sysutils/libcdio-paranoia/Makefile
+++ b/sysutils/libcdio-paranoia/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libcdio-paranoia
 PORTVERSION=	10.2+2.0.2
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU/libcdio
 
@@ -17,6 +18,7 @@ USE_LDCONFIG=	yes
 USE_PERL5=	build
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-ld-version-script
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check