git: 0971018ca3f2 - main - multimedia/l-smash: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Dec 2023 20:09:58 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0971018ca3f2753930333e2456650e6b6ce7dccf
commit 0971018ca3f2753930333e2456650e6b6ce7dccf
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-12-07 20:05:12 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-12-07 20:09:19 +0000
multimedia/l-smash: fix build with lld 17
Building multimedia/l-smash with lld 17 results in the following link
error:
ld: error: version script assignment of 'local' to symbol 'lsmash_string_to_wchar' failed: symbol not defined
The mentioned symbol is only used for Windows, but the configure script
fails to remove it from the linker script. Ensure the configure script's
sed command does removes it.
PR: 273753
MFH: 2023Q4
---
multimedia/l-smash/files/patch-configure | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/multimedia/l-smash/files/patch-configure b/multimedia/l-smash/files/patch-configure
index b3c357dbf760..aeeb79efe81e 100644
--- a/multimedia/l-smash/files/patch-configure
+++ b/multimedia/l-smash/files/patch-configure
@@ -9,3 +9,11 @@
fi
+@@ -430,6 +430,7 @@ sed -i -e '/lsmash_win32_fopen/d' \
+ # Get rid of non-public symbols for the cli tools from local.
+ sed -i -e '/lsmash_win32_fopen/d' \
+ -e '/lsmash_string_from_wchar/d' \
++ -e '/lsmash_string_to_wchar/d' \
+ -e '/lsmash_importer_open/d' \
+ -e '/lsmash_importer_close/d' \
+ -e '/lsmash_importer_get_access_unit/d' \