freebsd-ports/multimedia/mlt7
Dimitry Andric 15c83087b3 multimedia/mlt7: fix build with lld 17
Building multimedia/mlt7 with lld 17 results in the following link
errors:

  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_frame_get_alpha_mask' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_close' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_fetch' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_get_length' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_init' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_insert' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_interpolate' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_next_key' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_parse' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_parse_item' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_prev_key' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_refresh' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_remove' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_serialise' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_serialise_cut' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_set_length' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_playlist_move_region' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_sample_calculator' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_sample_calculator_to_now' failed: symbol not defined
  ld: error: version script assignment of 'MLT_0.9.10' to symbol 'mlt_properties_to_utf8' failed: symbol not defined

Add -Wl,--undefined-version to LDFLAGS to suppress these errors, since
mlt7 has several symbols that are defined conditionally (depending on
the target platform).

PR:		273753
MFH:		2023Q4
2023-11-11 18:46:13 +01:00
..
files
distinfo multimedia/mlt7: update to 7.20.0 2023-10-13 20:06:20 +02:00
Makefile multimedia/mlt7: fix build with lld 17 2023-11-11 18:46:13 +01:00
pkg-descr
pkg-plist multimedia/mlt7: update to 7.20.0 2023-10-13 20:06:20 +02:00