mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
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
19 lines
575 B
Text
19 lines
575 B
Text
--- configure.orig 2023-07-30 19:24:45 UTC
|
|
+++ configure
|
|
@@ -282,7 +282,7 @@ if test -n "$DEBUG"; then
|
|
CFLAGS="$CFLAGS -g3 -O0"
|
|
STRIP=""
|
|
else
|
|
- CFLAGS="-Os -ffast-math $CFLAGS"
|
|
+ CFLAGS="$CFLAGS"
|
|
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' \
|