package/openal: needs gcc >= 4.9
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 18 Aug 2020 21:54:12 +0000 (23:54 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 28 Aug 2020 20:56:49 +0000 (22:56 +0200)
commit79f41c3e72ab85207c5a865ee7c1fcc2a8146d70
tree03c26e0672742a2748a38dc4ec65e07b4595961a
parentdb751e2c89be128c858d466d5cc689aa16704f6c
package/openal: needs gcc >= 4.9

openal uses std::max_align_t since version 1.20.0 and
https://github.com/kcat/openal-soft/commit/585b0cf3bed7d1c5720633eb7e5358a9fca865f6

As a result, it is affected by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56019
and the build with gcc <= 4.8 will fail on:

/home/buildroot/autobuild/instance-2/output-1/build/openal-1.20.1/common/almalloc.cpp: In function 'void* al_malloc(size_t, size_t)':
/home/buildroot/autobuild/instance-2/output-1/build/openal-1.20.1/common/almalloc.cpp:20:45: error: 'max_align_t' is not a member of 'std'
     alignment = std::max(alignment, alignof(std::max_align_t));
                                             ^

Fixes:
 - http://autobuild.buildroot.org/results/589c7853ce334c7502f7cd4cdbcaaf3c6840f43b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-bad/Config.in
package/lugaru/Config.in
package/openal/Config.in
package/solarus/Config.in
package/supertuxkart/Config.in