package/gstreamer1/gstreamer1-mm: fix build with libglib 2.68
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 2 Sep 2021 16:42:42 +0000 (18:42 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fri, 3 Sep 2021 18:53:41 +0000 (20:53 +0200)
commit4b437f57a4d3962198f5e98acf3cae6a522d5612
tree6c008e2ce7fb82f8a7e0ab8eb1048c8e0a6239a8
parentde39a17f7173c82db358054752d3d65a41f0ca09
package/gstreamer1/gstreamer1-mm: fix build with libglib 2.68

Fix the following build failure raised since bump of libglib2 to version
2.68.1 in commit c72524fb1b1c6b7dd1b1f511eea0fdf5a39dd3a0:

../gstreamer/gstreamermm/register.h: In function 'GType Gst::register_mm_type(const gchar*)':
/home/buildroot/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/include/glib-2.0/glib/gatomic.h:117:19: error: argument 2 of '__atomic_load' must not be a pointer to a 'volatile' type
  117 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/1c75cdcc183642fd4c15d56825848b83f2ad11a5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
package/gstreamer1/gstreamer1-mm/0001-Fix-build-against-glib-2-68.patch [new file with mode: 0644]