diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-12-07 20:05:12 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-12-07 20:09:19 +0000 |
commit | 0971018ca3f2753930333e2456650e6b6ce7dccf (patch) | |
tree | 2acb72388c19dc1045eaf342bd14c1940827c337 | |
parent | 08ed7d01655c4150a96e1c49bdab87711a952df4 (diff) | |
download | ports-0971018ca3f2753930333e2456650e6b6ce7dccf.tar.gz ports-0971018ca3f2753930333e2456650e6b6ce7dccf.zip |
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
-rw-r--r-- | multimedia/l-smash/files/patch-configure | 8 |
1 files changed, 8 insertions, 0 deletions
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' \ |