[Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: dvbsubenc needs gcc 4.9

Peter Korsgaard peter at korsgaard.com
Tue Nov 10 08:54:46 UTC 2020


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > dvbsubenc fails to build with gcc 4.8 due to restrict keyword and for
 > loop declarations:

 > ../gst/dvbsubenc/libimagequant/blur.c:10:46: error: expected ';', ',' or ')' before 'src'
 >  transposing_1d_blur (unsigned char *restrict src, unsigned char *restrict dst,
 >                                               ^
 > ../gst/dvbsubenc/libimagequant/blur.c: In function 'liq_min3':
 > ../gst/dvbsubenc/libimagequant/blur.c:101:5: error: 'for' loop initial declarations are only allowed in C99 mode
 >      for (unsigned int i = 0; i < width - 1; i++) {
 >      ^

I have instead pushed a commit to pass -std=c99 in CFLAGS. The festival
plugin also had issues with this toolchain because of the old glibc
version, so I pushed another commit to fix that as well.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list