Build failure in DAAP plugin due to deprecated G_CONST_RETURN usage in libdmapsharing library
On Ubuntu 19.10
make[4]: Entering directory '/home/user/rhythmbox.CI/build/plugins/daap'
CC libdaap_la-daap-resources.lo
CC libdaap_la-rb-daap-container-record.lo
In file included from /usr/include/libdmapsharing-3.0/libdmapsharing/dmap.h:14,
from ../../../plugins/daap/rb-daap-container-record.h:33,
from ../../../plugins/daap/rb-daap-container-record.c:39:
/usr/include/libdmapsharing-3.0/libdmapsharing/dmap-mdns-browser.h:179:13: error: const [-Werror]
179 | G_CONST_RETURN GSList *dmap_mdns_browser_get_services (DMAPMdnsBrowser *
| ^~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:674: libdaap_la-rb-daap-container-record.lo] Error 1
make[4]: Leaving directory '/home/user/rhythmbox.CI/build/plugins/daap'
make[3]: *** [Makefile:547: all] Error 2
make[3]: Leaving directory '/home/user/rhythmbox.CI/build/plugins/daap'
make[2]: *** [Makefile:547: all-recursive] Error 1
make[2]: Leaving directory '/home/user/rhythmbox.CI/build/plugins'
make[1]: *** [Makefile:598: all-recursive] Error 1
make[1]: Leaving directory '/home/user/rhythmbox.CI/build'
make: *** [Makefile:507: all] Error 2
Edited by crvi