git: 97376a1dc91b - main - audio/lame: fix build with lld 17

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 10:21:07 UTC
The branch main has been updated by netchild:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97376a1dc91b250b311646e7e0d5bb223aa1014b

commit 97376a1dc91b250b311646e7e0d5bb223aa1014b
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-09-22 10:19:22 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2023-09-22 10:21:05 +0000

    audio/lame: fix build with lld 17
    
    No revision bump, this fix is not mandatory for non-failing builds.
    
    PR:     273995
---
 audio/lame/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/audio/lame/Makefile b/audio/lame/Makefile
index 8d1c6542feb4..e315ea24e238 100644
--- a/audio/lame/Makefile
+++ b/audio/lame/Makefile
@@ -29,7 +29,9 @@ OPTIONS_DEFAULT=DOCS
 post-patch:
 # Fix parallel builds
 	@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
-		${WRKSRC}/libmp3lame/i386/Makefile.in
+		${WRKSRC}/libmp3lame/i386/Makefile.ir
+# Remove undefined symbol from linker version script - XXX to be removed with lame 3.101
+	@${REINPLACE_CMD} -e '/lame_init_old/d' ${WRKSRC}/include/libmp3lame.sym
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmp3lame.so.0