libvisual: Fix for libvisual headers

They use old style definition

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
Edward Hervey 2025-01-10 11:05:06 +01:00 committed by GStreamer Marge Bot
parent 9e58164cfb
commit 989539830d

View file

@ -9,9 +9,12 @@ if libvisual_dep.found()
core_conf.set_quoted('LIBVISUAL_PLUGINSBASEDIR',
libvisual_dep.get_variable('pluginsbasedir'))
# Ignore issues in libvisual header
extra_args = cc.get_supported_arguments(['-Wno-old-style-definition'])
gstlibvisual = library('gstlibvisual',
libvisual_sources,
c_args : gst_plugins_base_args,
c_args : gst_plugins_base_args + extra_args,
include_directories: [configinc, libsinc],
dependencies : [libvisual_dep, audio_dep, video_dep, pbutils_dep, gst_dep, gst_base_dep],
install : true,